Documentation ¶ Index ¶ type Config func (c *Config) Check() error func (c *Config) GetServerConfig() ([]*server.Config, error) type Configs func Load(conf []byte) (c *Configs, err error) func LoadFile(path string) (c *Configs, err error) func (c *Configs) GetServerConfig() ([]*server.Config, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Config ¶ type Config struct { Listen []string mux.Config } func (*Config) Check ¶ func (c *Config) Check() error func (*Config) GetServerConfig ¶ func (c *Config) GetServerConfig() ([]*server.Config, error) type Configs ¶ type Configs struct { Server []*Config } func Load ¶ func Load(conf []byte) (c *Configs, err error) func LoadFile ¶ func LoadFile(path string) (c *Configs, err error) func (*Configs) GetServerConfig ¶ func (c *Configs) GetServerConfig() ([]*server.Config, error) Source Files ¶ View all Source files config.go load.go Click to show internal directories. Click to hide internal directories.