Documentation ¶
Index ¶
Constants ¶
const ( // OkResultOk captures enum value "ok" OkResultOk string = "ok" )
const ( // PingPingPong captures enum value "pong" PingPingPong string = "pong" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Authorize ¶
type Authorize struct { // data Data string `json:"data,omitempty"` }
Authorize authorize
swagger:model authorize
func (*Authorize) ContextValidate ¶
ContextValidate validates this authorize based on context it is used
func (*Authorize) MarshalBinary ¶
MarshalBinary interface implementation
func (*Authorize) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Credentials ¶
type Credentials struct { // client id // Required: true ClientID *string `json:"client_id"` // client secret // Required: true ClientSecret *string `json:"client_secret"` // domain // Required: true Domain *string `json:"domain"` }
Credentials credentials
swagger:model credentials
func (*Credentials) ContextValidate ¶
ContextValidate validates this credentials based on context it is used
func (*Credentials) MarshalBinary ¶
func (m *Credentials) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Credentials) UnmarshalBinary ¶
func (m *Credentials) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Error ¶
type Error struct { // code // Required: true Code *int64 `json:"code"` // error // Required: true Error *bool `json:"error"` // message // Required: true Message *string `json:"message"` }
Error error
swagger:model error
func (*Error) ContextValidate ¶
ContextValidate validates this error based on context it is used
func (*Error) MarshalBinary ¶
MarshalBinary interface implementation
func (*Error) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Metrics ¶
Metrics metrics
swagger:model metrics
func (Metrics) ContextValidate ¶
ContextValidate validates this metrics based on context it is used
type Ok ¶
type Ok struct { // Result of method execution. `ok` in case of success // Required: true // Enum: [ok] Result *string `json:"result"` }
Ok ok
swagger:model ok
func (*Ok) ContextValidate ¶
ContextValidate validates this ok based on context it is used
func (*Ok) MarshalBinary ¶
MarshalBinary interface implementation
func (*Ok) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Ping ¶
type Ping struct { // Result of method execution. `pong` in case of success // Required: true // Enum: [pong] Ping *string `json:"ping"` }
Ping ping
swagger:model ping
func (*Ping) ContextValidate ¶
ContextValidate validates this ping based on context it is used
func (*Ping) MarshalBinary ¶
MarshalBinary interface implementation
func (*Ping) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Token ¶
type Token struct { // access token // Required: true AccessToken *string `json:"access_token"` // expires in // Required: true ExpiresIn *float64 `json:"expires_in"` // refresh token // Required: true RefreshToken *string `json:"refresh_token"` // scope // Required: true Scope *string `json:"scope"` // token type // Required: true TokenType *string `json:"token_type"` }
Token token
swagger:model token
func (*Token) ContextValidate ¶
ContextValidate validates this token based on context it is used
func (*Token) MarshalBinary ¶
MarshalBinary interface implementation
func (*Token) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type UserInfo ¶
type UserInfo struct { // client id ClientID string `json:"client_id,omitempty"` // email Email string `json:"email,omitempty"` // emails Emails []string `json:"emails"` // id ID string `json:"id,omitempty"` // login Login string `json:"login,omitempty"` // name Name string `json:"name,omitempty"` // picture Picture string `json:"picture,omitempty"` // psuid Psuid string `json:"psuid,omitempty"` // token Token *Token `json:"token,omitempty"` // uid UID string `json:"uid,omitempty"` // verified email VerifiedEmail bool `json:"verified_email,omitempty"` }
UserInfo user info
swagger:model userInfo
func (*UserInfo) ContextValidate ¶
ContextValidate validate this user info based on the context it is used
func (*UserInfo) MarshalBinary ¶
MarshalBinary interface implementation
func (*UserInfo) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Validate ¶
type Validate struct { // data Data string `json:"data,omitempty"` }
Validate validate
swagger:model validate
func (*Validate) ContextValidate ¶
ContextValidate validates this validate based on context it is used
func (*Validate) MarshalBinary ¶
MarshalBinary interface implementation
func (*Validate) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type VkUserInfo ¶
type VkUserInfo struct { // access token AccessToken string `json:"access_token,omitempty"` // expires in ExpiresIn int64 `json:"expires_in,omitempty"` // user id UserID int64 `json:"user_id,omitempty"` }
VkUserInfo vk user info
swagger:model vkUserInfo
func (*VkUserInfo) ContextValidate ¶
ContextValidate validates this vk user info based on context it is used
func (*VkUserInfo) MarshalBinary ¶
func (m *VkUserInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VkUserInfo) UnmarshalBinary ¶
func (m *VkUserInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation