Documentation ¶
Index ¶
- func CheckResponse(r *http.Response) error
- func ContextWithRemoteAddr(ctx context.Context, remoteAddr string) context.Context
- func RemoteAddrFromContext(ctx context.Context) (string, bool)
- func ServeContext(ctx context.Context, handler http.Handler, addr string) error
- func WithAuthorization(h http.Handler, bearer BearerAuth) http.Handler
- func WithLogging(h http.Handler) http.Handler
- func WithRemoteAddress(h http.Handler) http.Handler
- type BearerAuth
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckResponse ¶ added in v0.3.2
func ContextWithRemoteAddr ¶ added in v0.3.10
func RemoteAddrFromContext ¶ added in v0.3.10
func WithAuthorization ¶ added in v0.0.3
func WithAuthorization(h http.Handler, bearer BearerAuth) http.Handler
Types ¶
Click to show internal directories.
Click to hide internal directories.