Documentation ¶
Index ¶
Constants ¶
View Source
const ( // RestMethod indicates to use REST for delivery RestMethod = iota // WebSocket indicates to use WS for delivery WebSocket )
Variables ¶
This section is empty.
Functions ¶
func NewDeliveryProvider ¶
func NewDeliveryProvider(serviceConfig *config.ServiceConfig, apiConfig *binance.ApiConfig, method DeliveryMethod) delivery.DepthDeliveryProvider
Types ¶
type DeliveryMethod ¶
type DeliveryMethod int
type DeliveryProvider ¶
type DeliveryProvider struct {
// contains filtered or unexported fields
}
func (*DeliveryProvider) DepthDelivery ¶
Click to show internal directories.
Click to hide internal directories.