demux

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2020 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Demux

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

Demux manages instances of producer/database and routes metrics to appropriate channels.

func New

New constructs new instance of demux.

func (*Demux) Start

func (d *Demux) Start()

Start starts demux.

func (*Demux) Update

func (d *Demux) Update()

Update updates databases and producers.

type MQ

type MQ struct {
	sync.Mutex
	// contains filtered or unexported fields
}

MQ represents MQ

func NewMQ

func NewMQ(ctx context.Context, lg *zap.Logger, chMap *extDSChanMap) (*MQ, error)

NewMQ constructs MQ

Jump to

Keyboard shortcuts

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