writer

package
v0.0.0-...-762f628 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2024 License: AGPL-3.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrWrite = errors.New("failed to write event")

Functions

This section is empty.

Types

type Service

type Service interface {
	io.Closer
	Write(ctx context.Context, evt *pb.CloudEvent, groupId, userId string) (err error)
}

func NewLogging

func NewLogging(svc Service, log *slog.Logger) Service

func NewMock

func NewMock() Service

func NewService

func NewService(clientAwk api.Client, backoffTimeLimit time.Duration, cfgCache config.WriterCacheConfig, log *slog.Logger) Service

Jump to

Keyboard shortcuts

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