Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleAuthenticate ¶
func MakeHandlerFunc ¶
func MakeHandlerFunc(config *config.Config, apiHandler ApiHandler) http.HandlerFunc
func RegisterApiRoutes ¶
Types ¶
type ApiHandler ¶
type AuthenticateRequest ¶
type AuthenticateResponse ¶
type AuthenticateResponse struct {
Token string `json:"token"`
}
Click to show internal directories.
Click to hide internal directories.