Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InvalidModelFieldError ¶
func (*InvalidModelFieldError) Error ¶
func (e *InvalidModelFieldError) Error() string
type UserAccess ¶
type UserAccess struct { ID string `json:"id" mapstructure:"id"` AccessToken string `json:"access_token" mapstructure:"access_token"` RefreshToken string `json:"refresh_token" mapstructure:"refresh_token"` TokenType string `json:"token_type" mapstructure:"token_type"` Scope string `json:"scope" mapstructure:"scope"` Expiry string `json:"expiry" mapstructure:"expiry"` }
func (UserAccess) ToJSON ¶
func (u UserAccess) ToJSON() []byte
func (*UserAccess) Validate ¶
func (u *UserAccess) Validate() error
Click to show internal directories.
Click to hide internal directories.