user

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddUserRole

type AddUserRole interface {
	Execute(ctx context.Context, userID uuid.UUID, roleID uuid.UUID) error
}

func NewAddUserRole

func NewAddUserRole(repo repository.UserRoleRepository) AddUserRole

type CreateUser

type CreateUser interface {
	Execute(ctx context.Context, input *entity.User) (*entity.User, error)
}

func NewCreateUser

func NewCreateUser(repoFactory factory.RepositoryFactory) CreateUser

type FindUserById

type FindUserById interface {
	Execute(ctx context.Context, id uuid.UUID) (*entity.User, error)
}

func NewFindUserById

func NewFindUserById(repo repository.UserRepository) FindUserById

Jump to

Keyboard shortcuts

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