redis_pubsub

package
v0.0.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 3, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewReceiver

func NewReceiver(rdb *redis.Client, channel string) event.Receiver

NewReceiver new a redis receiver.

func NewSender

func NewSender(rdb *redis.Client, channel string) event.Sender

NewSender new a redis sender.

Types

type ReceiverOption

type ReceiverOption func(*receiver)

ReceiverOption is a receiver option.

type SenderOption

type SenderOption func(*sender)

SenderOption is a sender options.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL