Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ConfigInit bool
View Source
var ConfigInitOverForDb chan bool
Functions ¶
func BufferCount ¶
func BufferCount() int
func ReadConfig ¶
func ReadConfig(path string)
func SetLogging ¶
func SetLogging(f bool)
Types ¶
type AppConfig ¶
type AppConfig struct { Secret string Buffers int // the count of buffers Database string Mysql *DbConfig Pg *DbConfig }
var Config AppConfig
Click to show internal directories.
Click to hide internal directories.