Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChangeInfoParams ¶
type ChangeInfoParams struct { Name string `json:"name"` Picture string `json:"picture"` NewPassword string `json:"new_password"` Password string `json:"password"` }
func (ChangeInfoParams) Validate ¶
func (r ChangeInfoParams) Validate() error
type LoginDefaultParams ¶
func (LoginDefaultParams) Validate ¶
func (r LoginDefaultParams) Validate() error
type LoginGoogleParams ¶
type LoginGoogleParams struct { Credential string `form:"credential"` CsrfToken string `form:"g_csrf_token"` }
func (LoginGoogleParams) Validate ¶
func (l LoginGoogleParams) Validate(csrfCookie []byte) error
type PublicInfo ¶
type RegisterDefaultParams ¶
type RegisterDefaultParams struct { Name string `json:"name"` Email string `json:"email"` Password string `json:"password"` Picture string `json:"picture"` }
func (RegisterDefaultParams) Validate ¶
func (r RegisterDefaultParams) Validate() error
Click to show internal directories.
Click to hide internal directories.