Commit Graph

  • e67b3c02c7 Remove TravisCI badge (#503) master Matt Silverlock 2019-07-20 13:14:35 -07:00
  • 7a1bf406d6 [docs] Add documentation for using mux to serve a SPA (#493) Franklin Harding 2019-07-20 07:53:35 -07:00
  • eab9c4f3d2 Simplify code (#501) Christian Muehlhaeuser 2019-07-20 16:49:38 +02:00
  • 50fbc3e7fb Avoid unnecessary conversion (#502) Christian Muehlhaeuser 2019-07-20 16:48:32 +02:00
  • d83b6ffe49 Update config.yml (#495) Matt Silverlock 2019-07-01 13:26:33 -07:00
  • 00bdffe0f3 Update stale.yml (#494) v1.7.3 Matt Silverlock 2019-06-29 21:17:52 -07:00
  • 0534769016 Improve CORS Method Middleware (#477) Franklin Harding 2019-06-29 13:52:29 -07:00
  • d70f7b4baa Delete ISSUE_TEMPLATE.md (#492) Matt Silverlock 2019-06-29 11:01:59 -07:00
  • 48f941fa99 Use subtests for middleware tests (#478) Franklin Harding 2019-06-29 10:24:12 -07:00
  • 64954673e9 Delete .travis.yml (#490) Matt Silverlock 2019-06-28 16:07:30 -07:00
  • 4248f5cd87 Fix nil panic in authentication middleware example (#489) Franklin Harding 2019-06-28 08:33:07 -07:00
  • 212aa90d7c [WIP] Create CircleCI config (#484) Matt Silverlock 2019-06-24 09:05:39 -07:00
  • ed099d4238 host:port matching does not require a :port to be specified. v1.7.2 M@ 2019-05-16 20:20:44 -04:00
  • c5c6c98bc2 [build] Remove sudo setting from travis.yml (#462) v1.7.1 sekky0905 2019-03-16 22:32:43 +09:00
  • 15a353a636 adding Router.Name to create new Route (#457) Benjamin Boudreau 2019-02-28 13:12:03 -05:00
  • 8eaa9f1309 fix go1.12 go vet usage (#458) Benjamin Boudreau 2019-02-28 12:36:07 -05:00
  • 8559a4f775 [docs] typo (#454) Souvik Haldar 2019-02-17 21:08:49 +05:30
  • a7962380ca replace rr.HeaderMap by rr.Header() (#443) v1.7.0 moeryomenko 2019-01-25 19:05:53 +03:00
  • 797e653da6 Call WriteHeader after setting other header(s) in the example (#442) Tim 2019-01-25 11:41:49 +00:00
  • 08e7f807d3 Ignore ErrNotFound while matching Subrouters (#438) Gregor Weckbecker 2019-01-08 15:29:30 +01:00
  • f3ff42f93a getHost() now returns full host & port information (#383) santsai 2019-01-04 23:08:45 +08:00
  • ef912dd76e [bugfix] Clear matchErr when traversing subrouters. tomare 2018-12-27 19:42:16 -05:00
  • a31c1782bf Replace domain.com with example.com (#434) Raees 2018-12-25 21:41:17 +05:00
  • 6137e193cd remove redundant code that remove support gorilla/context (#427) Michael Li 2018-12-17 22:42:43 +08:00
  • d2b5d13b92 Update and rename stale to stale.yml (#425) Matt Silverlock 2018-12-08 12:40:53 -08:00
  • 419fd9fe2a Add stalebot config (#424) Matt Silverlock 2018-12-07 10:41:48 -06:00
  • 758eb64354 Improve subroute configuration propagation #422 Joe Wilner 2018-12-07 10:48:26 -05:00
  • 3d80bc801b Use subtests in mux_test.go (#415) kanozec 2018-10-30 23:25:28 +08:00
  • 521ea7b17d Use constant for 301 status code in regexp.go (#412) Nguyen Ngoc Trung (Steven) 2018-10-23 19:08:00 -07:00
  • deb579d6e0 README.md: Update site URL Kamil Kisiel 2018-10-12 08:31:51 -07:00
  • 9e1f5955c0 Always run on the latest stable Go version. (#402) Matt Silverlock 2018-09-03 08:43:05 -07:00
  • cf6680bc62 Create release-drafter.yml (#399) Matt Silverlock 2018-09-02 15:36:45 -07:00
  • 8771f97498 Drop support for Go < 1.7: remove gorilla/context (#391) Franklin Harding 2018-09-02 15:22:40 -07:00
  • 962c5bed07 Add 1.11 to build in travis (#398) Shalom Yerushalmy 2018-08-30 17:23:24 +03:00
  • e48e440e4c Add test for multiple calls to Name(). Fixes #394 Kamil Kisiel 2018-08-07 00:52:56 -07:00
  • 815b8c6a26 Clarify behaviour of Name method if called multiple times. Kamil Kisiel 2018-08-07 00:50:18 -07:00
  • cb4698366a Update LICENSE & AUTHORS files. (#386) Matt Silverlock 2018-06-05 14:15:56 -07:00
  • e0b5abaaae Initialize user map (#371) Jim Kalafut 2018-05-26 15:17:21 -07:00
  • c85619274f [deps] Add go.mod for versioned Go (#376) Matt Silverlock 2018-05-17 10:36:23 -07:00
  • e3702bed27 [docs] Improve docstrings for middleware, skipclean (#375) v1.6.2 Matt Silverlock 2018-05-12 20:22:33 -07:00
  • fdeb7bc314 [docs] Doc fix for testing variables in path (#374) Sean Walberg 2018-05-12 23:09:30 -04:00
  • 5e55a4adb8 Add CORSMethodMiddleware (#366) Franklin Harding 2018-05-11 18:30:14 -07:00
  • ded0c29b24 Fix linter issues (docs) (#370) Matt Silverlock 2018-04-30 20:11:36 -07:00
  • b57cb1605f [build] Update Go versions; add 1.10.x (#364) Matt Silverlock 2018-04-16 13:45:19 -07:00
  • 94231ffd98 Fix table-driven example documentation (#363) brandon-height 2018-04-03 11:23:30 -07:00
  • 4dbd923b0c Make Use() variadic (#355) Johan Svensson 2018-03-14 17:31:26 +01:00
  • 07ba1fd60e Modify http status code to variable in README (#350) Geon Kim 2018-02-26 14:11:51 +09:00
  • d284fd8421 Modify 403 status code to const variable (#349) Geon Kim 2018-02-26 01:08:54 +09:00
  • c0091a0299 Create authentication middleware example. (#340) Kamil Kisiel 2018-01-19 23:58:19 -08:00
  • 0fdf828bb2 [docs] Clarify SetURLVars (#335) Franklin Harding 2018-01-19 22:28:49 -08:00
  • 077b44c2cf [docs] Document route.Get* methods consistently (#338) Kamil Kisiel 2018-01-19 20:51:41 -08:00
  • dc83507598 [docs] README.md: Improve "walking routes" example. (#337) (#323) Kamil Kisiel 2018-01-19 20:47:48 -08:00
  • 3dbb9ed96e README.md: add miss "time" (#336) safeoy 2018-01-20 12:20:16 +08:00
  • ad8790881f [docs] Fix doc.go (#333) Matt Silverlock 2018-01-18 09:53:57 -08:00
  • 69dae3b874 [docs] Add testing example (#331) Matt Silverlock 2018-01-16 23:16:36 -08:00
  • 63c5c2f1f0 [docs] Fix Middleware docs typos (#332) Matt Silverlock 2018-01-16 23:16:06 -08:00
  • 85e6bfff1a Update doc.go: r.AddMiddleware(...) -> r.Use(...) Kamil Kisiel 2018-01-16 17:18:53 -08:00
  • 0b74e3d0fe Make shutdown docs compilable (#330) Kush Mansingh 2018-01-16 17:43:47 -05:00
  • 53c1911da2 [feat] Add middleware support as discussed in #293 (#294) v1.6.1 Roberto Santalla 2018-01-16 18:23:47 +01:00
  • 5bbbb5b2b5 [docs] Add graceful shutdown example (#329) Matt Silverlock 2018-01-07 07:57:08 -08:00
  • 512169e5d7 refactor routeRegexp, particularily newRouteRegexp. (#328) Kamil Kisiel 2018-01-05 10:40:59 -08:00
  • 5ab525f4fb Public test API to set URL params (#322) Zak Chitty 2017-12-09 03:08:15 +11:00
  • 7904d2e42e [docs] Add example usage for Route.HeadersRegexp (#320) Matthew 2017-12-04 08:11:14 -08:00
  • c572efe429 [docs] Note StrictSlash re-direct behaviour #308 (#321) Matt Silverlock 2017-12-02 12:38:52 -08:00
  • 65ec7248c5 Create ISSUE_TEMPLATE.md (#318) Matt Silverlock 2017-11-28 16:00:09 -08:00
  • 4a3d4f3dd2 [bugfix] Fix method subrouter handler matching (#300) (#317) Matthew 2017-11-28 11:51:17 -08:00
  • 2d5fef06b8 [docs] fix outdated UseEncodedPath method docs (#314) Chris Dostert 2017-11-08 19:54:02 -08:00
  • 7f08801859 MatchErr is set to ErrNotFound if NotFoundHandler is used (#311) v1.6.0 Roberto Santalla 2017-11-05 18:23:20 +01:00
  • 9f48112f18 [docs] Document router.Match (#313) Kamil Kisiel 2017-11-04 21:08:26 -07:00
  • bc452d92e3 [build] Allow tip failures (#312) Matt Silverlock 2017-11-04 13:51:27 -07:00
  • 7625a85c14 .travis.yml: Remove versions < go1.5 from build matrix Kamil Kisiel 2017-10-19 20:47:00 -07:00
  • c9183aaddd use req.URL.EscapedPath() instead of getPath(req) (#306) Mike Busch 2017-10-19 23:46:20 -04:00
  • 10490f55fa GetQueryTemplates and GetQueryRegexp extraction (#304) Paul B. Beskow 2017-10-20 03:19:04 +02:00
  • 9bd9ff2d1d Added 1.9 build step (#303) Adam Ouellette 2017-10-10 17:54:56 -04:00
  • bdd5a5a1b0 Fix WriteHeader in TestA301ResponseWriter. (#301) Pontus Leitzler 2017-10-08 23:49:13 +02:00
  • 3f19343c7d [docs] Document evaluation order for routes (#297) Matthew Riley 2017-09-22 13:54:14 -07:00
  • 24fca303ac [docs] README.md: add missing . (#292) v1.5.0 Stephan Renatus 2017-09-05 19:10:44 +02:00
  • bb285ea687 [docs] Fix missing space in docstring (#289) Matt Silverlock 2017-08-30 13:57:41 -07:00
  • a659b61323 Fix #271: Return 405 instead of 404 when request method doesn't match the route Mayank Patel 2017-08-30 11:09:17 +05:30
  • ac112f7d75 Prefer scheme on child route when building URLs. Chris Hines 2017-07-03 11:07:09 -04:00
  • 37b3a6cace Use scheme from parent router when building URLs. Chris Hines 2017-06-30 10:51:05 -04:00
  • 8c683ee571 Fix typo Cody Oss 2017-06-21 16:27:26 -05:00
  • 18fca31550 Add test and fix for escaped query values. Chris Hines 2017-05-30 15:55:47 -04:00
  • c7a138dbc1 Update docs. Chris Hines 2017-05-30 15:53:16 -04:00
  • f9aa23a02b Add tests for support for queries in URL reversing. Pavel Ivanov 2017-02-21 13:00:54 +03:00
  • 9c9af153a1 Add support for queries in URL reversing. Pavel Ivanov 2017-02-19 19:05:42 +03:00
  • 043ee6597c Update Walking Routes Section Nick Hudkins 2017-05-23 20:31:38 -04:00
  • 59ce66852b Fix invalid example code Nick Hudkins 2017-05-23 20:19:48 -04:00
  • 85b8c203a4 Removing half of conflict marker (#268) Brian Michel 2017-05-22 22:46:13 -04:00
  • 456bcfa82d Update README with example for Router.Walk Nick Miyake 2017-05-19 17:30:49 -07:00
  • 4d814f7650 Update ancestors parameter for WalkFunc for matcher subrouters Nick Miyake 2017-05-19 11:22:54 -07:00
  • a322b2c2ec Update Walk to match all subrouters Nick Miyake 2017-05-19 11:32:53 -07:00
  • bcd8bc72b0 Support building URLs with non-http schemes. (#260) v1.4.0 Chris Hines 2017-05-21 00:50:13 -04:00
  • 751308a60a Updated README Bulat Gaifullin 2017-04-18 09:53:29 +03:00
  • b552615e22 Added method Route.GetMethods Bulat Gaifullin 2017-04-18 09:52:32 +03:00
  • 1856953e53 Added method Route.GetPathRegexp Bulat Gaifullin 2017-04-18 09:50:17 +03:00
  • 4c1c3952b7 fixed typo (#250) Carlos Alexandro Becker 2017-04-27 01:12:50 -03:00
  • 599cba5e7b Fixing Regexp in the benchmark test (#234) Diego Siqueira 2017-02-28 19:43:54 -03:00
  • ad4ce0eb16 updating logic in route matcher, cleaner and saner (#235) Shane Smith-Sahnow 2017-02-27 19:44:49 -08:00
  • 999ef73f5d Merge pull request #232 from DavidJFelix/patch-1 Kamil Kisiel 2017-02-23 12:25:54 -08:00