jwt

package
v0.0.0-...-711136c Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateJwtToken

func CreateJwtToken(pExpired int64, signedKey string, id uint64) (string, error)

Types

type CommonClaims

type CommonClaims struct {
	ID uint64
	jwt.StandardClaims
}

func ParseJwtToken

func ParseJwtToken(pTokenString string, signedKey string) (*CommonClaims, error)

Jump to

Keyboard shortcuts

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