sites

package
v0.0.0-...-7c3edb8 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2025 License: AGPL-3.0 Imports: 4 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 {

	// Create stores a new feed record.
	Create(ctx context.Context, site *Site) (err error)

	Read(ctx context.Context, addr string) (site *Site, err error)

	Delete(ctx context.Context, addr, groupId, userId string) (err error)

	List(ctx context.Context, filter *Filter, limit uint32, cursor string, order model.Order) (page []string, err error)
}

func NewService

func NewService(client ServiceClient) Service

func NewServiceLogging

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

Jump to

Keyboard shortcuts

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