Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( //Authentication ErrorEmailAlreadyUsed = NewError.New("email already used", http.StatusBadRequest) ErrorInvalidEmailOrPassword = NewError.New("invalid email or password", http.StatusBadRequest) ErrorInvalidAccessToken = NewError.New("access token invalid or expire", http.StatusBadRequest) ErrorInvalidDateFormat = NewError.New("invalid date format", http.StatusBadRequest) )
Functions ¶
This section is empty.
Types ¶
type AuthService ¶
type AuthService interface {
Register(ctx context.Context, req dto.AuthRequest) (dto.AuthResponse, error)
}
Click to show internal directories.
Click to hide internal directories.