package
Version:
v0.0.0-...-b480da5
Opens a new window with list of versions in this module.
Published: Dec 1, 2019
License: MIT
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type JwtConfig struct {
EncodeMethod string `toml:"encodeMethod"`
MaxEffectiveTime string `toml:"maxEffectiveTime"`
}
type LogConfig struct {
Enable bool `toml:"enable"`
Path string `toml:"path"`
Level string `toml:"level"`
RotateTime int `toml:"rotateTime"`
MaxAge int `toml:"maxAge"`
}
type MysqlConfig struct {
MaxIdle int `toml:"maxIdle"`
MaxOpen int `toml:"maxOpen"`
Debug bool `toml:"debug"`
WebAddr string `toml:"webAddr"`
}
type RunConfig struct {
HTTPAddr string `toml:"httpAddr"`
Mode string `toml:"mode"`
MaxAllowed int `toml:"maxAllowed"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.