Directories ¶
Path | Synopsis |
---|---|
Package compressor implements GZIP compression for HTTP responses.
|
Package compressor implements GZIP compression for HTTP responses. |
Package csrf offers stateless protection against CSRF attacks using the HTTP Origin header and falling back to HMAC tokens stored on secured and HTTP-only cookies.
|
Package csrf offers stateless protection against CSRF attacks using the HTTP Origin header and falling back to HMAC tokens stored on secured and HTTP-only cookies. |
Package grpcutil implements a gRPC HTTP handler and OpenAPI proxy.
|
Package grpcutil implements a gRPC HTTP handler and OpenAPI proxy. |
cmd
Package main shows an example of gRPC handler usage.
|
Package main shows an example of gRPC handler usage. |
Borrowed from https://github.com/codegangsta/negroni
|
Borrowed from https://github.com/codegangsta/negroni |
Package logger allows logging HTTP requests using customized formats.
|
Package logger allows logging HTTP requests using customized formats. |
Package methodoverride allows overriding the request's HTTP method by passing a hidden form field '_method' with another method as value.
|
Package methodoverride allows overriding the request's HTTP method by passing a hidden form field '_method' with another method as value. |
Package session offers a HTTP handler to manage web sessions using encrypted and authenticated cookies as well as pluggable backing stores.
|
Package session offers a HTTP handler to manage web sessions using encrypted and authenticated cookies as well as pluggable backing stores. |
Click to show internal directories.
Click to hide internal directories.