Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthController ¶
type AuthController struct { }
func New ¶
func New() *AuthController
func (AuthController) CreateToken ¶
func (uc AuthController) CreateToken(w http.ResponseWriter, r *http.Request, p httprouter.Params)
func (AuthController) RegisterRoutes ¶
func (uc AuthController) RegisterRoutes(r *httprouter.Router)
type CreateTokenDTO ¶
type CreateTokenResponse ¶
type CreateTokenResponse struct {
Token string `json:"token"`
}
Click to show internal directories.
Click to hide internal directories.