token

package
v0.0.0-...-7eb9a28 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2017 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExtractToken

func ExtractToken(r *http.Request) (string, error)

func GenerateToken

func GenerateToken(role string) (string, error)

func ParseToken

func ParseToken(myToken string) (bool, error)

func TokenHandler

func TokenHandler(w http.ResponseWriter, r *http.Request) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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