pubsub

package
v0.6.2 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2019 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RedisSubscriber

type RedisSubscriber struct {
	// contains filtered or unexported fields
}

RedisSubscriber contains information about Redis pubsub connection

func NewRedisSubscriber

func NewRedisSubscriber(node *node.Node, url string, channel string) RedisSubscriber

NewRedisSubscriber returns new RedisSubscriber struct

func (*RedisSubscriber) Start

func (s *RedisSubscriber) Start() error

Start connects to Redis and subscribes to the pubsub channel

Jump to

Keyboard shortcuts

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