Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LoggerConf ¶
type ServerConfig ¶
type ServerConfig struct { Storage StorageConf `yaml:"storage"` Net NetConf `yaml:"net"` Logger LoggerConf `yaml:"logger"` System SystemConf `yaml:"system"` Debug DebugConf `yaml:"debug"` }
func DefaultServerConfig ¶
func DefaultServerConfig() *ServerConfig
func (*ServerConfig) GetYamlString ¶
func (cfg *ServerConfig) GetYamlString() (string, error)
type StorageConf ¶
type SystemConf ¶
type SystemConf struct {
User string `yaml:"user"`
}
Click to show internal directories.
Click to hide internal directories.