Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAuthRouter ¶
func NewAuthRouter(e *echo.Echo, apiKeyUsecase domain.APIKeyUsecase)
Types ¶
type HTTPError ¶
type HTTPError struct {
Message string `json:"message"`
}
func (HTTPError) BadRequest ¶
func (HTTPError) ErrUnprocessableEntity ¶
func (HTTPError) InternalServerError ¶
TODO: Prefix erros with "Err"
func (HTTPError) Unauthorized ¶
Click to show internal directories.
Click to hide internal directories.