token

package
v0.0.0-...-02b4230 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SignToken

func SignToken(c Context) (tokenString string, err error)

Types

type Context

type Context struct {
	UUID string
}

func Parse

func Parse(tokenString string, secret string) (*Context, error)

func ParseRequest

func ParseRequest(token string) (*Context, error)

Jump to

Keyboard shortcuts

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