Versions in this module Expand all Collapse all v0 v0.0.1 Apr 20, 2020 Changes in this version + const Data + const Live + const Paper + const Version + var DefaultClient = NewClient(&Credentials{ ... }) + type Client struct + Credentials *Credentials + Environment Environment + func NewClient(credentials *Credentials) *Client + func (c *Client) Stream(streams []string, handler func(StreamEvent)) error + func (c *Client) URL() string + type Credentials struct + KeyID string + SecretKey string + func NewCredentials(key, secret string) *Credentials + type Environment string + type Error struct + Code int + Message string + type StreamEvent struct + Data StreamEventData + Stream string + type StreamEventData map[string]interface + func (s StreamEventData) ContainsKey(key string) bool + func (s StreamEventData) Float32(key string) float32 + func (s StreamEventData) Float64(key string) float64 + func (s StreamEventData) Int(key string) int + func (s StreamEventData) Int64(key string) int64 + func (s StreamEventData) Interface(key string) interface{} + func (s StreamEventData) String(key string) string