Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { ID string Streams map[string]struct{} WS *websocket.Client // contains filtered or unexported fields }
Client for forex api instance
func (*Client) Connect ¶
func (c *Client) Connect(listener func(*PriceResponse)) error
Connect to Forex websocket endpoint
func (*Client) Unsubscribe ¶
Unsubscribe to Forex markets
Click to show internal directories.
Click to hide internal directories.