Documentation ¶
Index ¶
- func CookieSignin(w http.ResponseWriter, r *http.Request)
- func DeleteAccount(w http.ResponseWriter, r *http.Request, userid, sessToken string)
- func ForgottenPasswordReset(w http.ResponseWriter, r *http.Request)
- func ForgottenPasswordSendLink(w http.ResponseWriter, r *http.Request)
- func GetUser(w http.ResponseWriter, r *http.Request, userid string)
- func GetUserPicture(w http.ResponseWriter, r *http.Request, ...)
- func Signin(w http.ResponseWriter, r *http.Request)
- func Signout(w http.ResponseWriter, r *http.Request, userid, sessToken string)
- func Signup(w http.ResponseWriter, r *http.Request)
- func UpdatePassword(w http.ResponseWriter, r *http.Request, userid string)
- func UpdateUserPictureRoute(w http.ResponseWriter, r *http.Request, userid string)
- func Usage(w http.ResponseWriter, r *http.Request, userid string)
- type DeleteAccountRequest
- type DeleteAccountResponse
- type ForgottenPasswordResetRequest
- type ForgottenPasswordResetResponse
- type ForgottenPasswordSendLinkRequest
- type ForgottenPasswordSendLinkResponse
- type GetUserResponse
- type SigninRequest
- type SigninResponse
- type SignoutResponse
- type SignupRequest
- type SignupResponse
- type UpdatePasswordRequest
- type UpdatePasswordResponse
- type UsageResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CookieSignin ¶
func CookieSignin(w http.ResponseWriter, r *http.Request)
func DeleteAccount ¶
func DeleteAccount(w http.ResponseWriter, r *http.Request, userid, sessToken string)
func ForgottenPasswordReset ¶
func ForgottenPasswordReset(w http.ResponseWriter, r *http.Request)
func ForgottenPasswordSendLink ¶
func ForgottenPasswordSendLink(w http.ResponseWriter, r *http.Request)
func GetUserPicture ¶
func GetUserPicture(w http.ResponseWriter, r *http.Request, userid, useridInURL, lastURLPart string)
func UpdatePassword ¶
func UpdatePassword(w http.ResponseWriter, r *http.Request, userid string)
func UpdateUserPictureRoute ¶
func UpdateUserPictureRoute(w http.ResponseWriter, r *http.Request, userid string)
Types ¶
type DeleteAccountRequest ¶
type DeleteAccountRequest struct {
Password string `json:"password,omitempty"`
}
type DeleteAccountResponse ¶
type DeleteAccountResponse struct {
Success bool `json:"success,omitempty"`
}
type ForgottenPasswordResetResponse ¶
type ForgottenPasswordResetResponse struct {
Success bool `json:"success,omitempty"`
}
type ForgottenPasswordSendLinkRequest ¶
type ForgottenPasswordSendLinkRequest struct {
Email string `json:"email,omitempty"`
}
type ForgottenPasswordSendLinkResponse ¶
type ForgottenPasswordSendLinkResponse struct {
Success bool `json:"success,omitempty"`
}
type GetUserResponse ¶
type SigninRequest ¶
type SigninResponse ¶
type SignoutResponse ¶
type SignoutResponse struct {
Success bool `json:"success,omitempty"`
}
type SignupRequest ¶
type SignupResponse ¶
type UpdatePasswordRequest ¶
type UpdatePasswordResponse ¶
type UpdatePasswordResponse struct {
Success bool `json:"success,omitempty"`
}
type UsageResponse ¶
type UsageResponse struct { Success bool `json:"success,omitempty"` Usage *model.UserStatistics `json:"usage,omitempty"` }
Click to show internal directories.
Click to hide internal directories.