Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Runtime = &config{}
Runtime configurations
Functions ¶
Types ¶
type JWT ¶
type JWT struct { Protocol string `form:"protocol" json:"protocol" binding:"required"` Host string `form:"host" json:"host" binding:"required"` Username string `form:"username" json:"username"` Password string `form:"password" json:"password" binding:"required"` }
JWT is a configuration structure between browser client and server
func (*JWT) GenerateID ¶
GenerateID generates a unique id based on JWT information
Click to show internal directories.
Click to hide internal directories.