subscriber

package
v0.0.0-...-e40ef66 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2019 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Mock

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

func (*Mock) Subscribe

func (m *Mock) Subscribe() error

type Redis

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

func (*Redis) Subscribe

func (r *Redis) Subscribe() error

type Subscriber

type Subscriber interface {
	Subscribe() error
}

func New

func New(pb pubsub.PubSuber, errorLogger *zap.Logger, config conf.Config) (Subscriber, error)

Jump to

Keyboard shortcuts

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