Versions in this module Expand all Collapse all v0 v0.1.0 May 1, 2021 Changes in this version + const ChannelFills + const ChannelOrderBook + const ChannelOrders + const ChannelTicker + const ChannelTrades + type Conn struct + func New(conn *websocket.Conn, key string, secret []byte, subaccount string) *Conn + func (c *Conn) Close() error + func (c *Conn) Login() error + func (c *Conn) Ping() error + func (c *Conn) Recv() (interface{}, error) + func (c *Conn) RecvRaw() ([]byte, error) + func (c *Conn) Subscribe(channel string, market ...string) error + func (c *Conn) Unsubscribe(channel string, market ...string) error + type Error struct + Code int + Msg string + Type string + type Fills struct + Channel string + Data struct{ ... } + Type string + type General struct + Channel string + Market string + Type string + type OrderBook struct + Data struct{ ... } + type Orders struct + Channel string + Data struct{ ... } + Type string + type Pong struct + Type string + type Ticker struct + Data struct{ ... } + type Time struct + func (t *Time) UnmarshalJSON(data []byte) error + type Trade struct + Data []struct{ ... }