subscriber

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2021 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Subscriber

type Subscriber struct {
	CMQ    *cmq.CMQ
	Tracer trace.Tracer
	Logger *zap.Logger
	// contains filtered or unexported fields
}

func New

func New(c *cmq.CMQ, logger *zap.Logger, tracer trace.Tracer) *Subscriber

func (*Subscriber) RegisterHandler

func (s *Subscriber) RegisterHandler(c chan<- model.ChanneledEvent)

func (*Subscriber) Subcribe

func (s *Subscriber) Subcribe() error

Jump to

Keyboard shortcuts

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