server

package
v0.0.0-...-9457295 Latest Latest
Warning

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

Go to latest
Published: May 21, 2014 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuthenticatedServer

func AuthenticatedServer(token string, handler http.Handler) http.Handler

AuthenticatedServer turns a regular http.Handler into a handler that returns Unauthorized in case the token query parameter is not set correctly.

Types

This section is empty.

Jump to

Keyboard shortcuts

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