package
Version:
v0.0.6
Opens a new window with list of versions in this module.
Published: Sep 30, 2023
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 2
Opens a new window with list of known importers.
Documentation
¶
func NewConfig() *sConfig
NewConfig new config
type Authority struct {
Enable bool
}
type Jwt struct {
Sso bool `json:"sso"`
Secret string `json:"secret"`
Token *Token `json:"token"`
}
type Log struct {
Enable bool
}
type Token struct {
Expire uint `json:"expire"`
RefreshExpire uint `json:"refreshExprire"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.