middleware

package
v0.0.0-...-dd83196 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Authentication

func Authentication(n http.Handler) http.Handler

Authentication validates the API Key passed in via the "X-API-Key" header or a query param "apiKey"

func ClientName

func ClientName(n http.Handler) http.Handler

ClientName parses the "X-API-Client-Name" header or "clientName" query parameter

func RecoverHandler

func RecoverHandler(n http.Handler) http.Handler

RecoverHandler keeps the app from crashing and returns 500 errors

Types

This section is empty.

Jump to

Keyboard shortcuts

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