middleware

package
v0.0.0-...-2af345c Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2020 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UserCommandHandlerLog

type UserCommandHandlerLog struct {
	Logger *log.Logger
	Next   service.UserCommandHandler
}

func (UserCommandHandlerLog) Disable

func (l UserCommandHandlerLog) Disable(cmd command.Disable) (err error)

func (UserCommandHandlerLog) Enable

func (l UserCommandHandlerLog) Enable(cmd command.Enable) (err error)

func (UserCommandHandlerLog) Remove

func (l UserCommandHandlerLog) Remove(cmd command.Remove) (err error)

type UserQueryLog

type UserQueryLog struct {
	Logger *log.Logger
	Next   service.UserQuery
}

func (UserQueryLog) Get

func (q UserQueryLog) Get(ctx context.Context, username string) (user *aggregate.UserRoot, err error)

func (UserQueryLog) GetByID

func (q UserQueryLog) GetByID(ctx context.Context, id string) (user *aggregate.UserRoot, err error)

func (UserQueryLog) List

func (q UserQueryLog) List(ctx context.Context, criteria *domain.Criteria) (users []*aggregate.UserRoot,
	token domain.PaginationToken, err error)

Jump to

Keyboard shortcuts

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