Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthHandler ¶
type AuthHandler struct {
UsersService users.UserServiceInterface
}
func (*AuthHandler) GetToken ¶
func (ah *AuthHandler) GetToken(w http.ResponseWriter, r *http.Request)
func (*AuthHandler) SignUp ¶
func (ah *AuthHandler) SignUp(w http.ResponseWriter, r *http.Request)
type ResponseToken ¶
type ResponseToken struct {
Token string `json:"token"`
}
type SignupData ¶
Click to show internal directories.
Click to hide internal directories.