Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultMaxExpInterval = 10 * time.Minute // 10分钟 DefaultMicroConfigPath = "platform/app-key" )
Variables ¶
View Source
var (
ErrInvalidJWT = errors.New("forbidden: JWT is invalid")
)
Functions ¶
func NewHandlerWrapper ¶
func NewHandlerWrapper(opt Options) server.HandlerWrapper
Types ¶
Click to show internal directories.
Click to hide internal directories.