package
0.0.0-20230605212826-f9f454f2a3f4
Repository: https://github.com/drakkar-software/metrics-server.git
Documentation: pkg.go.dev

# Functions

GetEvaluationConfigTop returns the trading mode top from asked cache value and a boolean for value availability.
GetExchangeTop returns the exchange top from asked cache value and a boolean for value availability.
GetPairTop returns the exchange top from asked cache value and a boolean for value availability.
GetTradingModeTop returns the trading mode top from asked cache value and a boolean for value availability.
GetBotCount returns the bot count from asked cache value and a boolean for value availability.
SetBotCount sets the cache value for a given time.
SetEvaluationConfigTop sets the cache value for a given time.
SetExchangeTop sets the cache value for a given time.
SetPairTop sets the cache value for a given time.
SetTradingModeTop sets the cache value for a given time.

# Variables

Refresh cache every 4 hours.

# Structs

BotCountsCache stores bot counts cache values.
TopCache stores exchanges and trading modes top values.