Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type RedisRepository ¶
type UserRepository ¶
type UserRepository interface { Register(ctx context.Context, user *entity.User) (*entity.User, error) Update(ctx context.Context, user *entity.User) (*entity.User, error) Delete(ctx context.Context, userId string) error FindByEmail(ctx context.Context, email string) (*entity.User, error) GetById(ctx context.Context, userId string) (*entity.User, error) }
type UserUseCase ¶
type UserUseCase interface { Register(ctx context.Context, request *model.RegisterUserRequest) (*model.UserResponse, error) Login(ctx context.Context, request *model.LoginUserRequest) (*model.UserResponse, error) Delete(ctx context.Context, request *model.DeleteUserRequest) error GetById(ctx context.Context, userId string) (*model.UserResponse, error) }
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
Package user_mock is a generated GoMock package.
|
Package user_mock is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.