Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthController ¶
type AuthController struct {
AuthUserUseCase AuthUserUseCase
}
Implementation of the repository in this service.
func (*AuthController) GetNewAccessToken ¶
func (h *AuthController) GetNewAccessToken(c *fiber.Ctx) error
type AuthRequest ¶
func (AuthRequest) ValidateLoginInput ¶
func (r AuthRequest) ValidateLoginInput() error
type AuthResponse ¶
type AuthUserUseCase ¶
type AuthUserUseCase interface {
Execute(ctx context.Context, auth AuthRequest) (AuthResponse, error)
}
func NewAuthUserUseCase ¶
func NewAuthUserUseCase(r user.UserRepository) AuthUserUseCase
Create a new 'service' or 'use-case' for 'User' entity.
Click to show internal directories.
Click to hide internal directories.