service

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: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UserCommandHandler

type UserCommandHandler interface {
	Enable(cmd command.Enable) error
	Disable(cmd command.Disable) error
	Remove(cmd command.Remove) error
}

type UserQuery

type UserQuery interface {
	Get(ctx context.Context, username string) (*aggregate.UserRoot, error)
	GetByID(ctx context.Context, id string) (*aggregate.UserRoot, error)
	List(ctx context.Context, criteria *domain.Criteria) ([]*aggregate.UserRoot, domain.PaginationToken, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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