Documentation
¶
Index ¶
Constants ¶
View Source
const API_ROOT = "https://api.gdax.com"
View Source
const WS_FEED_URL = "wss://ws-feed.gdax.com"
Variables ¶
This section is empty.
Functions ¶
func TickerChannel ¶
Types ¶
type FeedClient ¶
type FeedClient struct {
// contains filtered or unexported fields
}
func NewFeedClient ¶
func NewFeedClient() *FeedClient
func (*FeedClient) Connect ¶
func (c *FeedClient) Connect() (err error)
func (*FeedClient) Next ¶
func (c *FeedClient) Next() (map[string]interface{}, error)
Next reads the next message into a generic map.
func (*FeedClient) Subscribe ¶
func (c *FeedClient) Subscribe(channels ...interface{}) error
Click to show internal directories.
Click to hide internal directories.