Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AsteriskConfig ¶
type AsteriskConfig struct { IP string `json:"ip"` Port string `json:"port"` Timeout time.Duration `json:"timeout"` Username string `json:"username"` Password string `json:"password"` }
func (*AsteriskConfig) GetAsteriskConfig ¶
func (c *AsteriskConfig) GetAsteriskConfig() *AsteriskConfig
type DBConfig ¶
type DBConfig struct { Driver string `json:"driver"` DBServer string `json:"db_server"` Port int `json:"port"` DBName string `json:"db_name"` Scheme string `json:"scheme"` Username string `json:"username"` Password string `json:"password"` ConnMaxLifetime time.Duration `json:"conn_max_lifetime"` MaxOpenConns int `json:"max_open_conns"` MaxIdleConns int `json:"max_idle_conns"` }
func (*DBConfig) GetDBConfig ¶
type HttpConfig ¶
func (*HttpConfig) GetHTTPConfig ¶
func (a *HttpConfig) GetHTTPConfig() (IP, PORT string)
Click to show internal directories.
Click to hide internal directories.