Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HttpAuthenticateUser ¶
type HttpCreateUser ¶
type HttpCreateUser struct { Username string `json:"username"` Email string `json:"email"` Password string `json:"password"` ConfirmPassword string `json:"confirm_password"` }
func (*HttpCreateUser) Validate ¶
func (u *HttpCreateUser) Validate() error
type HttpReadLogin ¶
type HttpReadUser ¶
type LoginHandler ¶
type LoginHandler struct {
// contains filtered or unexported fields
}
func NewLoginHandler ¶
func (*LoginHandler) GetLogin ¶
func (h *LoginHandler) GetLogin(w http.ResponseWriter, r *http.Request)
func (*LoginHandler) InitializeLogin ¶
func (h *LoginHandler) InitializeLogin(w http.ResponseWriter, r *http.Request)
func (*LoginHandler) VerifyLogin ¶
func (h *LoginHandler) VerifyLogin(w http.ResponseWriter, r *http.Request)
type UserHandler ¶
type UserHandler struct {
// contains filtered or unexported fields
}
func NewUserHandler ¶
func NewUserHandler(repo domain.UserRepo) *UserHandler
func (*UserHandler) Create ¶
func (h *UserHandler) Create(w http.ResponseWriter, r *http.Request)
func (*UserHandler) Get ¶
func (h *UserHandler) Get(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.