Versions in this module Expand all Collapse all v1 v1.0.2 Jul 20, 2023 v1.0.1 Jul 20, 2023 Changes in this version + type Cancel Offer + func CancelFromRaw(raw []interface{}) (Cancel, error) + type CancelRequest struct + ID int64 + func (cr *CancelRequest) MarshalJSON() ([]byte, error) + func (cr *CancelRequest) ToJSON() ([]byte, error) + type New Offer + func NewFromRaw(raw []interface{}) (New, error) + type Offer struct + Amount float64 + AmountOrig float64 + Flags map[string]interface{} + Hidden bool + ID int64 + Insure bool + MTSCreated int64 + MTSUpdated int64 + Notify bool + Period int64 + Rate float64 + RateReal float64 + Renew bool + Status string + Symbol string + Type string + func FromRaw(raw []interface{}) (o *Offer, err error) + type Snapshot struct + Snapshot []*Offer + func SnapshotFromRaw(raw []interface{}) (snap *Snapshot, err error) + type SubmitRequest struct + Amount float64 + Hidden bool + Period int64 + Rate float64 + Symbol string + Type string + func (sr *SubmitRequest) MarshalJSON() ([]byte, error) + func (sr *SubmitRequest) ToJSON() ([]byte, error) + type Update Offer + func UpdateFromRaw(raw []interface{}) (Update, error)