Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConnConfig ¶
type ConnConfig struct { AuthTimeout uint32 `yaml:"auth-timeout"` IdleTimeout uint32 `yaml:"idle-timeout"` AuthFilePath string `yaml:"auth-file-path"` }
func GetConnConfig ¶
func GetConnConfig() ConnConfig
type ServerConfig ¶
type ServerConfig struct { App AppConfig `yaml:"app"` Web WebConfig `yaml:"web"` Log LogConfig `yaml:"log"` Conn ConnConfig `yaml:"conn"` Services []*Service `yaml:"services"` }
func GetSrvConfig ¶
func GetSrvConfig() *ServerConfig
type Service ¶
func GetServiceConfig ¶
func GetServiceConfig() []*Service
Click to show internal directories.
Click to hide internal directories.