jwt

package
v0.0.0-...-a7b0e50 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Aeskey = "ekwjunfw87&&*12"

Aeskey ... JWT

Functions

func Chcek

func Chcek(ip string, token string) (string, error)

Chcek chcek user login status and Get the UUID. auto chcek ip

func CheckIP

func CheckIP(ip string, Token *jwt.Token) (bool, error)

CheckIP ip check

func NewToken

func NewToken(uuid, sub, ip string, sec int64) (string, error)

NewToken new jwt token string

func ParsingToken

func ParsingToken() (string, error)

ParsingToken jwt token string

Types

This section is empty.

Jump to

Keyboard shortcuts

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