Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶ added in v0.1.1
type Config struct { Host string `yaml:"host" json:"host"` // 主机地址 Port int `yaml:"port" json:"port"` // 端口号 Database int `yaml:"database" json:"database"` // 数据库 Username string `yaml:"username" json:"username"` // 用户名 Password string `yaml:"password" json:"password"` // 密码 PoolSize int `yaml:"pool_size" json:"pool_size"` // 连接池连接数 StreamTag string `yaml:"stream_tag" json:"stream_tag"` // 流标签 }
Config redis配置对象
Directories ¶
Path | Synopsis |
---|---|
Package errwrap implements methods to formalize error wrapping in Go.
|
Package errwrap implements methods to formalize error wrapping in Go. |
examples
|
|
Package redis implements a Redis client.
|
Package redis implements a Redis client. |
Package xxhash implements the 64-bit variant of xxHash (XXH64) as described at http://cyan4973.github.io/xxHash/.
|
Package xxhash implements the 64-bit variant of xxHash (XXH64) as described at http://cyan4973.github.io/xxHash/. |
Click to show internal directories.
Click to hide internal directories.