Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type RedisCli ¶
type RedisCli interface {
// if the redis client is ready
OK() bool
// pub a payload to channel
Pub(channel, payload string) error
// sub a payload from channel, callback uill tidy the local cache
Sub(channel string, callback func(payload string)) error
}
`RedisCli“ interface used by `dist` component
Click to show internal directories.
Click to hide internal directories.