jwt

package
v0.0.0-...-7c02c66 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReleaseToken

func ReleaseToken(sid string, platform uint8) (token string, err error)

Types

type MyCustomClaims

type MyCustomClaims struct {
	Sid      string `json:"sid"`
	Platform uint8  `json:"platform"`
	jwt.RegisteredClaims
}

func ParseToken

func ParseToken(token string) (*MyCustomClaims, error)

Jump to

Keyboard shortcuts

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