mq

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2023 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Publisher

type Publisher interface {
	Publish(context.Context, *car.CarEntity) error
}

Publisher defines the publish interface.

type Subscriber

type Subscriber interface {
	Subscribe(context.Context) (ch chan *car.CarEntity, cleanUp func(), err error)
}

Subscriber defines a car update subscriber.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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