Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PublisherConfig ¶
type PublisherConfig struct {
dependencies.RedisClientConfig
}
type Sub ¶
type Sub struct {
// contains filtered or unexported fields
}
func (Sub) Subscribe ¶
func (sub Sub) Subscribe(s Subscription) error
type Subscriber ¶
type Subscriber interface { app.Runner Subscribe(Subscription) error }
func NewSubscriber ¶
func NewSubscriber(c SubscriberConfig) Subscriber
NewSubscriber new redis subscriber
type SubscriberConfig ¶
type SubscriberConfig struct {
dependencies.RedisClientConfig
}
type Subscription ¶
Click to show internal directories.
Click to hide internal directories.