Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( AppMode string HttpPort string Db string DbHost string DbPort string DbUser string DbPassword string DbName string JwtKey string AccessKey string SecretKey string Bucket string QiniuServer string )
View Source
var JwtKeyBytes = []byte(JwtKey)
Functions ¶
func LoadFromEnv ¶
func LoadFromEnv()
func LoadServer ¶
Types ¶
type MyClaims ¶
type MyClaims struct {
Username string `json:"username"`
jwt.RegisteredClaims
}
Click to show internal directories.
Click to hide internal directories.