consumer

package
v1.0.0-beta.150 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Consumer

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

func New

func New(opts Options) (*Consumer, error)

func (*Consumer) Close

func (w *Consumer) Close() error

func (*Consumer) Run

func (w *Consumer) Run(ctx context.Context) error

type Options

type Options struct {
	SystemEventsTopic string

	Entitlement *registry.Entitlement
	Router      router.Options

	Marshaler marshaler.Marshaler

	Logger *slog.Logger
}

Jump to

Keyboard shortcuts

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