Documentation ¶
Index ¶
Constants ¶
View Source
const (
DefaultPollPeriod = time.Second
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Broker ¶
type Broker struct {
// contains filtered or unexported fields
}
type Options ¶
type Options struct { Addrs []string `yaml:"addrs"` Password string `yaml:"password"` DB int `yaml:"db"` DialTimeout time.Duration `yaml:"dial_timeout"` ReadTimeout time.Duration `yaml:"read_timeout"` WriteTimeout time.Duration `yaml:"write_timeout"` IdleTimeout time.Duration `yaml:"idle_timeout"` MinIdleConns int `yaml:"min_idle_conns"` PollPeriod time.Duration `yaml:"poll_period"` }
Click to show internal directories.
Click to hide internal directories.