jwt

package
v0.0.0-...-ce97478 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateJwtToken

func GenerateJwtToken(Email string) (string, error)

Types

type Claims

type Claims struct {
	Email string `json:"email"`
	jwt.RegisteredClaims
}

func ParseToken

func ParseToken(tokenString string) (*jwt.Token, *Claims, error)

Jump to

Keyboard shortcuts

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