producers

package
v0.0.0-...-081ecb4 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2020 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Base

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

func (*Base) Put

func (p *Base) Put(message queue.Message) error

func (*Base) Register

func (p *Base) Register(m *Multiplexer, queueID string) error

type Multiplexer

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

func NewMultiplexer

func NewMultiplexer(q Queue) *Multiplexer

func (*Multiplexer) NewSubqueue

func (m *Multiplexer) NewSubqueue(id string) (Queue, error)

type Queue

type Queue interface {
	Put(message queue.Message) error
}

Jump to

Keyboard shortcuts

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