coinbase

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 13, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Index

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL