package
0.0.0-20200225130757-6f35eb4e776b
Repository: https://github.com/adampointer/go-bitmex.git
Documentation: pkg.go.dev

# Constants

CommandOpAuth authenticates the connection.
CommandOpCancelAllAfter sets up a dead-man's switch.
CommandOpPing is a ping.
CommandOpSubscribe subscribes to a topic.
CommandOpUnsubscribe unsubscribes from a topic.
EventApiResponseAutoCancel is a response to a CommandOpCancelAllAfter command.
EventApiResponseError is a topic for API errors as opposed to low level websocket errors.
EventApiResponseInfo is a topic for info messages.
EventApiResponseSubscription is a topic where all subscribed messages are published.
EventApiResponseSuccess is a response to a CommandOpSubscribe command.
EventWebsocketConnected is fired when the websocket connection is established.
EventWebsocketDisconnected is fired when the websocket connection is terminated.
EventWebsocketError is a topic for connection errors.
EventWebsocketMessage is a topic for incoming message.

# Variables

Private.
Public.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

AutoCancelResponse is a response to CommandOpCancelAllAfter.
Command can be marshaled to JSON and sent on the websocket.
CompositeResponse is what all incoming API messages are unmarshaled to.
ErrorResponse is an API error message.
InfoResponse is an information message sent by the remote when you first connect.
LimitInfo informs about rate limits.
SubscriptionFilter allows you to add a filter to a subscription request.
SubscriptionResponse is a response to a subscription command.
SubscriptionTopic is a topic which can be subscribed to on the BitMEX API.
SuccessResponse is a success message responding to a subscribe command.

# Type aliases

CommandArgs are arguments for a command.
CommandOp is a websocket API command operation.
Event is a topic which can be subscribed to on the local event bus.
SubscriptionTopics is a collection of topics.