Documentation ¶
Overview ¶
Package redis provides a Redis broker
Index ¶
- Variables
- func ConnectTimeout(d time.Duration) broker.Option
- func IdleTimeout(d time.Duration) broker.Option
- func MaxActive(n int) broker.Option
- func MaxIdle(n int) broker.Option
- func NewBroker(opts ...broker.Option) broker.Broker
- func ReadTimeout(d time.Duration) broker.Option
- func WriteTimeout(d time.Duration) broker.Option
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func NewBroker ¶
NewBroker returns a new broker implemented using the Redis pub/sub protocol. The connection address may be a fully qualified IANA address such as: redis://user:secret@localhost:6379/0?foo=bar&qux=baz
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.