Documentation ¶
Index ¶
- Variables
- func CmcUpdateWorker(wg *sync.WaitGroup, c *cache.Cache)
- func CrcUpdateWorker(wg *sync.WaitGroup, p *cache.Cache)
- func CreateCMCRequestData(c *cache.Cache) []types.TokensWithCurrency
- func HuobiUpdateWorker(wg *sync.WaitGroup, c *cache.Cache)
- func RequestCMC(tokens types.TokensWithCurrency) (*types.CmcResponse, error)
- func SetCMC(tokens types.TokensWithCurrency, c *cache.Cache) error
- func SetCRC(c *cache.Cache)
- func SetHuobi(c *cache.Cache) error
- func SetTrust(prices types.PricesTrustV2, c *cache.Cache) error
- func SetWithGettingDetails(tokens types.TokensWithCurrency, c *cache.Cache) ([]cache.Details, error)
- func SingleERC20Course(fiat, crypto string) (string, error)
- func TrustUpdateWorker(wg *sync.WaitGroup, c *cache.Cache)
Constants ¶
This section is empty.
Variables ¶
View Source
var (
TrustV2Coins []types.PricesTrustV2
)
View Source
var (
TrustWalletURL = os.Getenv("TRUST_URL")
)
Functions ¶
func CreateCMCRequestData ¶
func CreateCMCRequestData(c *cache.Cache) []types.TokensWithCurrency
func RequestCMC ¶
func RequestCMC(tokens types.TokensWithCurrency) (*types.CmcResponse, error)
func SetWithGettingDetails ¶
func SingleERC20Course ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.