Documentation ¶ Index ¶ Constants type Exchange func New(options ...Option) *Exchange func (x *Exchange) Subscribe(ctx context.Context, sub exchange.Subscriber, syms ...string) error type Option func WithRetryAfter(d time.Duration) Option func WithURL(url string) Option Constants ¶ View Source const ( NAME = "coinbase" FEED_URL = "wss://ws-feed.pro.coinbase.com" ) Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Exchange ¶ type Exchange struct { // contains filtered or unexported fields } func New ¶ func New(options ...Option) *Exchange func (*Exchange) Subscribe ¶ func (x *Exchange) Subscribe(ctx context.Context, sub exchange.Subscriber, syms ...string) error type Option ¶ type Option func(x *Exchange) func WithRetryAfter ¶ func WithRetryAfter(d time.Duration) Option func WithURL ¶ func WithURL(url string) Option Source Files ¶ View all Source files coinbase.go Click to show internal directories. Click to hide internal directories.