decorators

package
v0.0.0-...-c18b09c Latest Latest
Warning

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

Go to latest
Published: May 9, 2016 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthenticatedHandler

type AuthenticatedHandler struct {
	Handler http.Handler
	Apikeys []string
}

func (AuthenticatedHandler) ServeHTTP

func (auth AuthenticatedHandler) ServeHTTP(res http.ResponseWriter, req *http.Request)

type LoggingHandler

type LoggingHandler struct {
	Handler http.Handler
}

func (LoggingHandler) ServeHTTP

func (logger LoggingHandler) ServeHTTP(res http.ResponseWriter, req *http.Request)

Jump to

Keyboard shortcuts

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