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