client

package
v0.0.0-...-6fd8abe Latest Latest
Warning

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

Go to latest
Published: May 13, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

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

Jump to

Keyboard shortcuts

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