api

package
v0.0.0-...-b093a28 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAPIProviders

func GetAPIProviders() fx.Option

Types

type ExchangeClientResult

type ExchangeClientResult struct {
	fx.Out
	Client models.ExchangeAPIClient `group:"exchange_client"`
}

func NewBinanaceAPIClient

func NewBinanaceAPIClient() ExchangeClientResult

func NewCoinbaseProAPIClient

func NewCoinbaseProAPIClient() ExchangeClientResult

func NewFtxAPIClient

func NewFtxAPIClient() ExchangeClientResult

func NewKucoinAPIClient

func NewKucoinAPIClient() ExchangeClientResult

func NewOkexAPIClient

func NewOkexAPIClient() ExchangeClientResult

type ExchangeClients

type ExchangeClients struct {
	fx.In
	Clients []models.ExchangeAPIClient `group:"exchange_client"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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