producer

package
v1.6.2 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package producer contains the interface of producer.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PDVMessage

type PDVMessage struct {
	ID      uint64
	Address string
	Device  string
	Meta    *entities.PDVMeta
	Data    []byte
}

PDVMessage ...

type Producer

type Producer interface {
	Produce(ctx context.Context, m *PDVMessage) error
}

Producer ...

Directories

Path Synopsis
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package sqs is an aws sqs implementation of producer
Package sqs is an aws sqs implementation of producer

Jump to

Keyboard shortcuts

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