Skip to content

Commit

Permalink
fix documentation linking
Browse files Browse the repository at this point in the history
  • Loading branch information
komuw committed Jun 8, 2023
1 parent e7718d7 commit 4cd5d47
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions middleware/client_ip.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ const (
// This should be used when your application is behind a TCP proxy that uses the v1 PROXY protocol.
//
// See the warning in [ClientIP]
//
// [PROXY protocol v1]: https://www.haproxy.org/download/2.8/doc/proxy-protocol.txt
ProxyStrategy = ClientIPstrategy("ProxyStrategy")
)
Expand Down
1 change: 1 addition & 0 deletions mux/mux.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ func (m Mux) ServeHTTP(w http.ResponseWriter, r *http.Request) {
//
// It is not intended for use in production settings, it is more of a dev/debugging tool.
// It is inspired by django's [resolve] url utility.
//
// [resolve]: https://docs.djangoproject.com/en/4.2/ref/urlresolvers/#django.urls.resolve
func (m Mux) Resolve(path string) Route {
zero := Route{}
Expand Down

0 comments on commit 4cd5d47

Please sign in to comment.