pub

package
v0.0.0-...-2cabe76 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2024 License: AGPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrInvalid = errors.New("invalid request")
View Source
var ErrLimitReached = errors.New("publishing limit reached")
View Source
var ErrNoAck = errors.New("publishing is not acknowledged")
View Source
var ErrNoAuth = errors.New("unauthenticated request")

Functions

This section is empty.

Types

type Service

type Service interface {
	Publish(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(clientHttp *http.Client, url, token string) Service

Jump to

Keyboard shortcuts

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