Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Error ¶
type Error struct {
// code
Code int64 `json:"code,omitempty"`
// message
Message string `json:"message,omitempty"`
}
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 Feevote ¶
type Feevote struct {
// end point
// Required: true
EndPoint *string `json:"end_point"`
// SUF value for the fee.
// Required: true
Value *uint64 `json:"value"`
}
Feevote feevote
swagger:model Feevote
func (*Feevote) ContextValidate ¶
ContextValidate validates this feevote based on context it is used
func (*Feevote) MarshalBinary ¶
MarshalBinary interface implementation
func (*Feevote) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Price ¶
type Price struct {
// end point
// Required: true
EndPoint *string `json:"end_point"`
// The price for the endpoint, either in FIO tokens or USD based on the format parameter. Only present when format=float or format=usd
Price float64 `json:"price,omitempty"`
// SUF value for the fee. Only present when format=suf (default)
Value uint64 `json:"value,omitempty"`
}
Price price
swagger:model Price
func (*Price) ContextValidate ¶
ContextValidate validates this price based on context it is used
func (*Price) MarshalBinary ¶
MarshalBinary interface implementation
func (*Price) UnmarshalBinary ¶
UnmarshalBinary interface implementation
Click to show internal directories.
Click to hide internal directories.