Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Configuration represent the variable of configuration model Configuration = &ConfigurationModel{} )
Functions ¶
Types ¶
type ConfigurationModel ¶
type ConfigurationModel struct { RunMode string `json:"run_mode"` Port string `json:"port"` DialectMaster string `json:"dialect_master"` DsnMaster string `json:"dsn_master"` IdleConnMaster int `json:"idle_conn_master"` MaxConnMaster int `json:"max_conn_master"` DialectSlave string `json:"dialect_slave"` DsnSlave string `json:"dsn_slave"` IdleConnSlave int `json:"idle_conn_slave"` MaxConnSlave int `json:"max_conn_slave"` }
ConfigurationModel represent the configuration model
Click to show internal directories.
Click to hide internal directories.