restrict

package module
v0.0.0-...-35c3231 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2015 License: MIT Imports: 5 Imported by: 2

README

restrict

Restrict is a pretty unidiomatic Go jwt library.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func R

func R(fn func(http.ResponseWriter, *http.Request, *jwt.Token)) http.HandlerFunc

func ReadCryptoKey

func ReadCryptoKey(file string) error

func Token

func Token(claims map[string]interface{}) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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