writer

package
v0.0.0-...-6f7307d Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: AGPL-3.0 Imports: 16 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) Service

Jump to

Keyboard shortcuts

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