Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Error ¶
type Error struct { // error Error *ErrorError `json:"error,omitempty"` // success Success bool `json:"success,omitempty"` }
Error error
swagger:model Error
func (*Error) ContextValidate ¶
ContextValidate validate this error based on the context it is used
func (*Error) MarshalBinary ¶
MarshalBinary interface implementation
func (*Error) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ErrorError ¶
type ErrorError struct { // code Code float64 `json:"code,omitempty"` // info Info string `json:"info,omitempty"` // type Type string `json:"type,omitempty"` }
ErrorError error error
swagger:model ErrorError
func (*ErrorError) ContextValidate ¶
ContextValidate validates this error error based on context it is used
func (*ErrorError) MarshalBinary ¶
func (m *ErrorError) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ErrorError) UnmarshalBinary ¶
func (m *ErrorError) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type MapItemCurrency ¶
MapItemCurrency map item currency
swagger:model MapItemCurrency
func (MapItemCurrency) ContextValidate ¶
ContextValidate validates this map item currency based on context it is used
type Rates ¶
type Rates struct { // data Data map[string]float64 `json:"data,omitempty"` // query Query *RatesQuery `json:"query,omitempty"` }
Rates rates
swagger:model Rates
func (*Rates) ContextValidate ¶
ContextValidate validate this rates based on the context it is used
func (*Rates) MarshalBinary ¶
MarshalBinary interface implementation
func (*Rates) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type RatesQuery ¶
type RatesQuery struct { // base currency BaseCurrency string `json:"base_currency,omitempty"` // timestamp Timestamp float64 `json:"timestamp,omitempty"` }
RatesQuery rates query
swagger:model RatesQuery
func (*RatesQuery) ContextValidate ¶
ContextValidate validates this rates query based on context it is used
func (*RatesQuery) MarshalBinary ¶
func (m *RatesQuery) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RatesQuery) UnmarshalBinary ¶
func (m *RatesQuery) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation