Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RedisClient ¶
type RedisPubSub ¶
type RedisPubSub struct { RedisClient Channel string }
func (*RedisPubSub) Close ¶
func (rPubSub *RedisPubSub) Close() error
func (*RedisPubSub) Publish ¶
func (rPubSub *RedisPubSub) Publish(msg string) error
func (*RedisPubSub) ReceiveMessage ¶
func (rPubSub *RedisPubSub) ReceiveMessage() chan string
func (*RedisPubSub) SetChannel ¶
func (rPubSub *RedisPubSub) SetChannel(channel string) i.IPubSub
type RedisQueue ¶
type RedisQueue struct { RedisClient Topic string }
func (*RedisQueue) Dequeue ¶
func (rq *RedisQueue) Dequeue() (string, error)
func (*RedisQueue) Enqueue ¶
func (rq *RedisQueue) Enqueue(val string) error
Click to show internal directories.
Click to hide internal directories.