proxy

package
v2.0.3+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 22, 2016 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithLogger

func WithLogger(handler http.Handler, ctx log.Interface) http.Handler

WithLogger wraps the handler so that each request gets logged

func WithPagination

func WithPagination(h http.Handler) http.Handler

WithPagination wraps the handler so that each request gets the Limit and Offset values attached

func WithToken

func WithToken(handler http.Handler) http.Handler

WithToken wraps the handler so that each request gets the Bearer token attached

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL