Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitConfig ¶
func InitConfig()
Types ¶
type Config ¶
type Config struct {
Server *Server `yaml:"server"`
MySQL *MySQL `yaml:"mysql"`
Redis *Redis `yaml:"redis"`
Etcd *Etcd `yaml:"etcd"`
Services map[string]*Service `yaml:"services"`
Domain map[string]*Domain `yaml:"domain"`
}
var Conf *Config
Click to show internal directories.
Click to hide internal directories.