legacyevent

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ToLegacyEvent

func ToLegacyEvent(event events.Event) payload.LegacyEvent

Types

type Sender

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

Sender sends legacy events.

func NewSender

func NewSender(cfg config.Config, ackC, nackC, undeliveredC chan<- events.Event) *Sender

func (*Sender) Format

func (s *Sender) Format() events.EventFormat

func (*Sender) SendEvent

func (s *Sender) SendEvent(event events.Event)

Jump to

Keyboard shortcuts

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