proxy

package
v2.5.1 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2017 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 ttnlog.Interface) http.Handler

WithLogger wraps the handler so that each request gets logged

func WithPagination added in v2.0.3

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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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