Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type MysqlConfT ¶
type MysqlConfT struct { Addr string `json:"address"` MaxConcurrent int `json:"maxconcurrent"` User string `json:"user"` Pass string `json:"password"` DBName string `json:"database"` }
func (*MysqlConfT) Check ¶
func (c *MysqlConfT) Check() bool
type RedisConfT ¶
type RedisConfT struct { Addr string `json:"address"` MaxConcurrent int `json:"maxconcurrent"` Pass string `json:"password"` }
func (*RedisConfT) Check ¶
func (c *RedisConfT) Check() bool
type ServiceConfT ¶
type ServiceConfT struct {
ListenAddr TCPAddr `json:"listenaddr"`
}
func (*ServiceConfT) Check ¶
func (c *ServiceConfT) Check() bool
type UpstreamConfT ¶
type UpstreamConfT struct { Addr string `json:"address"` MaxConcurrent int `json:"maxconcurrent"` Timeout Duration `json:"timeout"` }
func (*UpstreamConfT) Check ¶
func (c *UpstreamConfT) Check() bool
Click to show internal directories.
Click to hide internal directories.