messages

package
v0.0.0-...-b8ae332 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2024 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrInternal = errors.New("messages: internal failure")

ErrInternal indicates some unexpected internal failure.

Functions

This section is empty.

Types

type Service

type Service interface {
	PutBatch(ctx context.Context, msgs []*pb.CloudEvent) (count uint32, err error)
	GetBatch(ctx context.Context, ids []string) (msgs []*pb.CloudEvent, err error)
	DeleteBatch(ctx context.Context, ids []string) (count uint32, err error)
}

func NewService

func NewService(client ServiceClient) Service

func NewServiceLogging

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

func NewServiceMock

func NewServiceMock() Service

Jump to

Keyboard shortcuts

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