common

package
v0.20.1 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Consumer

type Consumer interface {
	Start(context.Context, chan bool)
}

func NewConsumer

func NewConsumer(protocol config.Protocol, cfg config.Config, id int) (Consumer, error)

type Publisher

type Publisher interface {
	Start(context.Context)
}

func NewPublisher

func NewPublisher(protocol config.Protocol, cfg config.Config, id int) (Publisher, error)

Jump to

Keyboard shortcuts

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