platforms

package
v0.0.0-...-24cb8d0 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2020 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	TrustV2Coins []types.PricesTrustV2
)
View Source
var (
	TrustWalletURL = os.Getenv("TRUST_URL")
)

Functions

func CmcUpdateWorker

func CmcUpdateWorker(wg *sync.WaitGroup, c *cache.Cache)

func CrcUpdateWorker

func CrcUpdateWorker(wg *sync.WaitGroup, p *cache.Cache)

func CreateCMCRequestData

func CreateCMCRequestData(c *cache.Cache) []types.TokensWithCurrency

func HuobiUpdateWorker

func HuobiUpdateWorker(wg *sync.WaitGroup, c *cache.Cache)

func RequestCMC

func RequestCMC(tokens types.TokensWithCurrency) (*types.CmcResponse, error)

func SetCMC

func SetCMC(tokens types.TokensWithCurrency, c *cache.Cache) error

func SetCRC

func SetCRC(c *cache.Cache)

func SetHuobi

func SetHuobi(c *cache.Cache) error

func SetTrust

func SetTrust(prices types.PricesTrustV2, c *cache.Cache) error

func SetWithGettingDetails

func SetWithGettingDetails(tokens types.TokensWithCurrency, c *cache.Cache) ([]cache.Details, error)

func SingleERC20Course

func SingleERC20Course(fiat, crypto string) (string, error)

func TrustUpdateWorker

func TrustUpdateWorker(wg *sync.WaitGroup, c *cache.Cache)

Types

This section is empty.

Jump to

Keyboard shortcuts

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