publisher

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2026 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EventPublisher

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

func NewPublisher

func NewPublisher(ctx context.Context, logger *zap.Logger, clientName string) (*EventPublisher, error)

func (*EventPublisher) Close

func (p *EventPublisher) Close() error

func (*EventPublisher) Publish

type Publisher

type Publisher interface {
	Publish(ctx context.Context, event eventing.MdaiEvent, subject eventing.MdaiEventSubject) error
	Close() error
}

Jump to

Keyboard shortcuts

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