limits

package
v0.0.0-...-246617b Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2025 License: AGPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrForbidden = errors.New("forbidden")
View Source
var ErrInternal = errors.New("internal failure")
View Source
var ErrInvalid = errors.New("invalid")
View Source
var ErrNotFound = errors.New("not found")

Functions

This section is empty.

Types

type Service

type Service interface {
	Get(ctx context.Context, groupId, userId string, subj model.Subject) (l model.Limit, 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