Documentation
¶
Index ¶
Constants ¶
View Source
const (
// ExchangeName is the name of the exchange.
ExchangeName = "binance"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Activities ¶
type Activities struct {
// contains filtered or unexported fields
}
Activities is the struct that will handle the exchanges.
func New ¶
func New(temporal temporalclient.Client, apiKey, secretKey string) (*Activities, error)
New will create a new binance exchanges.
func (*Activities) ListenSymbolActivity ¶
func (a *Activities) ListenSymbolActivity( ctx context.Context, params exchanges.ListenSymbolParams, ) (exchanges.ListenSymbolResults, error)
ListenSymbolActivity will listen to the symbol activity.
func (*Activities) Name ¶
func (a *Activities) Name() string
Name will return the name of the exchanges.
func (*Activities) Register ¶
func (a *Activities) Register(w worker.Worker)
Register will register the exchanges.
Click to show internal directories.
Click to hide internal directories.