Documentation ¶
Overview ¶
Package notional contains the logic to get the notional value of assets
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NoopNotifier ¶
func NoopNotifier() notify
Types ¶
type HistoryNotionalJob ¶
type HistoryNotionalJob struct {
// contains filtered or unexported fields
}
func NewHistoryNotionalJob ¶
func NewHistoryNotionalJob(api *coingecko.CoinGeckoAPI, db *mongo.Database, p2pNetwork string, requestLimitTimeSeconds int, days string, logger *zap.Logger) *HistoryNotionalJob
type IndexingTimestamps ¶
type NotionalJob ¶
type NotionalJob struct {
// contains filtered or unexported fields
}
NotionalJob is the job to get the notional value of assets.
func NewNotionalJob ¶
func NewNotionalJob(api *coingecko.CoingeckoAPI, cacheClient *redis.Client, cachePrefix string, cacheChannel string, tokenProvider *domain.TokenProvider, notify notify, logger *zap.Logger) *NotionalJob
NewNotionalJob creates a new notional job.
Click to show internal directories.
Click to hide internal directories.