Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseGrpc ¶
type BaseGrpc struct { }
func NewBaseGrpc ¶
func NewBaseGrpc() *BaseGrpc
func (*BaseGrpc) Connection ¶
func (*BaseGrpc) GetCallOption ¶
func (p *BaseGrpc) GetCallOption() grpc.CallOption
type RESTfulProvider ¶
type RESTfulProvider struct {
// contains filtered or unexported fields
}
func NewRESTfulProvider ¶
func (*RESTfulProvider) GetPrices ¶
func (p *RESTfulProvider) GetPrices() map[string]types.PriceByPair
type WebsocketProvider ¶
type WebsocketProvider struct {
// contains filtered or unexported fields
}
func NewWebsocketProvider ¶
func NewWebsocketProvider(exchange string, symbols []string, stopCh <-chan struct{}) (*WebsocketProvider, error)
func (*WebsocketProvider) GetPrices ¶
func (p *WebsocketProvider) GetPrices() map[string]types.PriceByPair
Click to show internal directories.
Click to hide internal directories.