Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NewUserRequest ¶
type NewUserRequest struct { Username string `json:"username" validate:"required"` Password string `json:"password" validate:"required"` }
func (NewUserRequest) Dereference ¶
func (r NewUserRequest) Dereference(pointer interface{}) interface{}
func (NewUserRequest) NewPointer ¶
func (r NewUserRequest) NewPointer() interface{}
type NewUserResponse ¶
type NewUserResponse struct{}
type PasswordAuthRequest ¶
type PasswordAuthRequest struct { Username string `json:"username" validate:"required"` Password string `json:"password" validate:"required"` ClientID string `json:"client_id" validate:"required"` ClientSecret string `json:"client_secret" validate:"required"` }
func (PasswordAuthRequest) Dereference ¶
func (r PasswordAuthRequest) Dereference(pointer interface{}) interface{}
func (PasswordAuthRequest) NewPointer ¶
func (r PasswordAuthRequest) NewPointer() interface{}
type PasswordAuthResponse ¶
type PasswordAuthResponse struct {
AccessToken string `json:"access_token"`
}
Click to show internal directories.
Click to hide internal directories.