first commit
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
package core
|
||||
|
||||
type Yaml struct {
|
||||
EnableRedis bool `yaml:"enable_redis"`
|
||||
RedisAddr string `yaml:"redis_addr"`
|
||||
RedisPassword string `yaml:"redis_password"`
|
||||
SlaveMode bool `yaml:"slave_mode"`
|
||||
HttpPort string `yaml:"http_port"`
|
||||
}
|
||||
|
||||
var Config Yaml
|
||||
Reference in New Issue
Block a user