matches

package
v0.0.0-...-e129f03 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2023 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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

ErrInternal indicates some unexpected internal failure.

Functions

This section is empty.

Types

type Service

type Service interface {

	// Search returns a next page of basic model.Subscription data. The page offset is defined by the cursor.
	// Empty cursor causes the Search to start from the beginning.
	Search(ctx context.Context, msgId string, cursor string, limit uint32) (page []model.SubscriptionBase, err error)
}

func NewLoggingMiddleware

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

func NewService

func NewService(client ServiceClient) Service

func NewServiceMock

func NewServiceMock() Service

Jump to

Keyboard shortcuts

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