user_usecase

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2024 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 BaasUserDeletionTaskQueue

type BaasUserDeletionTaskQueue interface {
	Enqueue(ctx context.Context, auth model.UserAuthentication) error
}

type Usecase

type Usecase struct {
	// contains filtered or unexported fields
}

func NewUsecase

func NewUsecase(
	conn transaction.Connection,
	authRepo repository.AuthenticationRepository,
	userRepo repository.UserRepository,
	baasUserDeletionTaskQ BaasUserDeletionTaskQueue,
) *Usecase

func (Usecase) AccountDelete

func (u Usecase) AccountDelete(ctx context.Context, user model.User) error

Jump to

Keyboard shortcuts

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