handlersvc

package
v0.15.14 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrHandlerIdAlreadyExists  = errors.New("handler id already exists")
	ErrInvalidAwsAccountNumber = errors.New("invalid aws account number")
)

Functions

This section is empty.

Types

type Service

type Service struct {
	Clock clock.Clock
	DB    ddb.Storage
}

Service holds business logic relating to Cognito user management.

func (*Service) DeleteHandler

func (s *Service) DeleteHandler(ctx context.Context, handler *handler.Handler) error

func (*Service) RegisterHandler

func (s *Service) RegisterHandler(ctx context.Context, req types.RegisterHandlerRequest) (*handler.Handler, error)

Input data validation is handled by the API layer

Jump to

Keyboard shortcuts

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