You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
394 B
Go
10 lines
394 B
Go
2 years ago
|
package config
|
||
|
|
||
|
type appInfo struct {
|
||
|
AppName string `mapstructure:"name" yaml:"name"` // 应用名称
|
||
|
Port uint64 `mapstructure:"port" yaml:"port"` // 端口号
|
||
|
Prefix string `mapstructure:"prefix" yaml:"prefix"` // 接口前缀
|
||
|
Version string `mapstructure:"version" yaml:"version"` // 版本号
|
||
|
Monster bool `mapstructure:"monster" yaml:"monster"` // 妖怪模式
|
||
|
}
|