32 lines
450 B
Go
32 lines
450 B
Go
package config
|
|
|
|
type Config struct {
|
|
OfflineUUID bool
|
|
Port string
|
|
Log struct {
|
|
Level string
|
|
Json bool
|
|
}
|
|
Sql struct {
|
|
MysqlDsn string
|
|
}
|
|
Debug bool
|
|
Cache struct {
|
|
Type string
|
|
Ram int
|
|
}
|
|
RaelIP bool
|
|
MaxIpUser int
|
|
RsaPriKey string
|
|
TexturePath string
|
|
TextureBaseUrl string
|
|
WebBaseUrl string
|
|
ServerName string
|
|
|
|
Captcha struct {
|
|
Type string
|
|
SiteKey string
|
|
Secret string
|
|
}
|
|
}
|