jwtutil

package
v0.4.7 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2020 License: Apache-2.0 Imports: 6 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrExpired = fmt.Errorf("access token expired")

Functions

func Generate

func Generate(k string, expire time.Duration, userId string) (string, error)

func Validate

func Validate(k, str string) (*sender.Sender, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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