a5gjwt

package
v0.0.0-...-35a760b Latest Latest
Warning

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

Go to latest
Published: May 8, 2018 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrSecretKeyEmpty = errors.New("empty secret key")

Functions

func NewSession

func NewSession(
	secretKey string, userID int64, issuedAt time.Time, lifeTime time.Duration) (
	string, *jwt.StandardClaims, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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