Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MapToStruct ¶
Types ¶
type MysqlConfig ¶
type RedisConfig ¶
type ServerConf ¶
type ServerConf struct { Name string `json:"name"` Host string `json:"host"` //ip Port int `json:"port"` //port MaxConn int `json:"max_conn"` //最大连接数 ConnWriteBuffer int `json:"conn_write_buffer"` ConnReadBuffer int `json:"conn_read_buffer"` KV map[string]interface{} `json:"kv"` }
var (
ServerConfig *ServerConf
)
Click to show internal directories.
Click to hide internal directories.