package
0.0.0-20200630105701-a377ca4f0e1f
Repository: https://github.com/ops-cn/common.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

New 创建认证实例.
SetExpired 设定令牌过期时长(单位秒,默认7200).
SetKeyfunc 设定验证key的回调函数.
SetSigningKey 设定签名key.
SetSigningMethod 设定签名方式.

# Structs

JWTAuth jwt认证.

# Interfaces

Storer 令牌存储接口.

# Type aliases

Option 定义参数项.