Documentation ¶
Index ¶
Constants ¶
View Source
const ( BASE_URL = "https://api.pro.coinbase.com" BASE_URL_SANDBOX = "https://api-public.sandbox.pro.coinbase.com" )
Variables ¶
This section is empty.
Functions ¶
func ParseFloat ¶
Types ¶
type Message ¶
func (*Message) GetReason ¶
func (self *Message) GetReason() MessageReason
func (*Message) GetType ¶
func (self *Message) GetType() MessageType
type MessageReason ¶
type MessageReason int
const ( REASON_UNKNOWN MessageReason = iota REASON_FILLED REASON_CANCELED )
func (*MessageReason) String ¶
func (mr *MessageReason) String() string
type MessageType ¶
type MessageType int
const ( MESSAGE_UNKNOWN MessageType = iota MESSAGE_RECEIVED MESSAGE_OPEN MESSAGE_DONE MESSAGE_MATCH MESSAGE_CHANGE MESSAGE_ACTIVATE MESSAGE_HEARTBEAT MESSAGE_ERROR )
func (*MessageType) String ¶
func (mt *MessageType) String() string
Click to show internal directories.
Click to hide internal directories.