You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
397 B
13 lines
397 B
package configApp
|
|
|
|
//服务基础配置
|
|
type Server struct {
|
|
Appsetup appsetup `mapstructure:"appsetup" json:"appsetup" yaml:"appsetup"`
|
|
}
|
|
|
|
//服务配置详情
|
|
type appsetup struct {
|
|
Port int `mapstructure:"port" json:"port" yaml:"port"`
|
|
Readtime int `mapstructure:"readtime" json:"readtime" yaml:"readtime"`
|
|
Writetime int `mapstructure:"writetime" json:"writetime" yaml:"writetime"`
|
|
}
|
|
|