Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Listen string `cfg:"listen; :8804; netaddr; The address the server to listen"` MaxConn int `cfg:"max-connection; 10000; numeric; Max number of concurrent connections"` Redis struct { Cluster []string `cfg:"cluster; required; dialstring; The addresses of redis cluster"` Timeout time.Duration `cfg:"timeout; 10s"` } }
Click to show internal directories.
Click to hide internal directories.