usecase

package
v0.0.0-...-a051c0a Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UseCase

type UseCase struct {
	User UserUseCase
	// contains filtered or unexported fields
}

type UserUseCase

type UserUseCase interface {
	ValidateToken(ctx context.Context, tokenString string) (resp model.ValidateTokenResponse, err error)
	SignUp(ctx context.Context, request model.SignUpRequest) error
	SignIn(ctx context.Context, request model.SignInRequest) (token, role string, err error)
	GetUserDetails(ctx context.Context, clientID int64) (model.User, error)
	UpdateUserDetails(ctx context.Context, userInfo model.UpdateUserModel) error
}

Jump to

Keyboard shortcuts

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