common

package
v0.26.2 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2025 License: Apache-2.0 Imports: 7 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(chan bool)
}

func NewConsumer

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

type Publisher

type Publisher interface {
	Start(chan bool, chan bool)
}

func NewPublisher

func NewPublisher(ctx context.Context, 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