Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Credentials ¶
type Handler ¶
type Handler struct {
Service *Service
}
func (Handler) Authenticate ¶
Authenticate @Description Authenticate @Accept json @Produce json @Param username query string true "Username of the user" @Param password query string true "Password of the user" @Success 200 {object} common.AuthenticationResponse "ok" @Failure 400 {object} string "Error reading body." @Router /auth [post]
Click to show internal directories.
Click to hide internal directories.