Documentation
¶
Index ¶
- type QuoteClient
- func (q *QuoteClient) Close()
- func (q *QuoteClient) ListQuotes() ([]string, error)
- func (q *QuoteClient) ListRegisteredStrategies() ([]string, error)
- func (q *QuoteClient) RegisterStrategy(id string) error
- func (q *QuoteClient) SubscribeCoin(quotes []string) error
- func (q *QuoteClient) UnregisterStrategy(id string) error
- func (q *QuoteClient) UnsubscribeCoin(quotes []string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type QuoteClient ¶
type QuoteClient struct {
// contains filtered or unexported fields
}
func NewQuoteClient ¶
func NewQuoteClient(host, port string) (*QuoteClient, error)
func (*QuoteClient) Close ¶
func (q *QuoteClient) Close()
func (*QuoteClient) ListQuotes ¶
func (q *QuoteClient) ListQuotes() ([]string, error)
func (*QuoteClient) ListRegisteredStrategies ¶
func (q *QuoteClient) ListRegisteredStrategies() ([]string, error)
func (*QuoteClient) RegisterStrategy ¶
func (q *QuoteClient) RegisterStrategy(id string) error
func (*QuoteClient) SubscribeCoin ¶
func (q *QuoteClient) SubscribeCoin(quotes []string) error
func (*QuoteClient) UnregisterStrategy ¶
func (q *QuoteClient) UnregisterStrategy(id string) error
func (*QuoteClient) UnsubscribeCoin ¶
func (q *QuoteClient) UnsubscribeCoin(quotes []string) error
Click to show internal directories.
Click to hide internal directories.