service

package
v0.0.0-...-42cc4ce Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service interface {
	SearchAndAdd(ctx context.Context, interestId, groupId, q string, limit uint32, typ model.SearchType) (n uint32, err error)
	HandleLiveStreamEvents(ctx context.Context, evts []*pb.CloudEvent)
}

func NewService

func NewService(
	clientHttp *http.Client,
	userAgent string,
	cfg config.MastodonConfig,
	svcAp ap.Service,
	w writer.Service,
	typeCloudEvent string,
) Service

func NewServiceLogging

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

func NewServiceMock

func NewServiceMock() Service

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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