Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateResolution ¶
ValidateResolution checks if the given value is a valid resolution and returns the corresponding resolution value. If the value is not valid, it returns an error.
Types ¶
type CancelOrder ¶
type CancelOrder struct { Symbol string `json:"sym"` ID string `json:"id"` Side string `json:"sd" oneof:"buy sell"` Hash string `json:"hash"` }
func (*CancelOrder) Validate ¶
func (p *CancelOrder) Validate() error
Click to show internal directories.
Click to hide internal directories.