Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type SampleServerConfig ¶
type SampleServerConfig struct { JsonLog bool `default:"true" split_words:"true"` LogLevel logrus.Level `default:"info" split_words:"true"` ServerAddr string `default:":4000" split_words:"true"` }
func ReadConfig ¶
func ReadConfig() (*SampleServerConfig, error)
Click to show internal directories.
Click to hide internal directories.