Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExchangeClient ¶
type ExchangeClient interface { QueryClient() *grpc.ClientConn GetOrderbook(ctx context.Context, marketId string) (derivativeExchangePB.OrderbookResponse, error) StreamOrderbook(ctx context.Context, marketIds []string) (derivativeExchangePB.InjectiveDerivativeExchangeRPC_StreamOrderbookClient, error) Close() }
func NewExchangeClient ¶
func NewExchangeClient(protoAddr string, options ...common.ClientOption) (ExchangeClient, error)
Click to show internal directories.
Click to hide internal directories.