publisher

package
v1.0.0-dev.151 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Root = "boost.wrapper.publisher"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Driver

type Driver interface {
	Publish(context.Context, []*cloudevents.Event) ([]PublishOutput, error)
}

type PublishOutput

type PublishOutput struct {
	Event *cloudevents.Event
	Error error
}

type Publisher

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

func New

func (*Publisher) Publish

func (p *Publisher) Publish(ctx context.Context, events []*cloudevents.Event) error

Jump to

Keyboard shortcuts

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