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"` AppKey string `mapstructure:"appkey" json:"appkey" yaml:"appkey"` DefaultPassword string `mapstructure:"password" json:"password" yaml:"password"` }