cloudevent

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: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ToCloudEvent

func ToCloudEvent(event events.Event) (cev2.Event, error)

Types

type Sender

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

Sender sends cloud events.

func NewSender

func NewSender(conf 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