config

package
v0.0.0-...-bd92ab4 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2023 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BalancesObserverConfig

type BalancesObserverConfig struct {
	PageSize uint64        `fig:"page_size"`
	Interval time.Duration `fig:"interval"`
}

type Config

type Config interface {
	comfig.Logger
	types.Copuser
	comfig.Listenerer
	pgdb.Databaser
	rd.Rediser

	ChainsCfg() *chains.Config
	NewStorage() data.Storage
	Storage() data.Storage
	RedisStore() data.RedisStore
	BalancesObserver() *BalancesObserverConfig
	TokensObserver() *TokensObserverConfig
}

func New

func New(getter kv.Getter) Config

type TokensObserverConfig

type TokensObserverConfig struct {
	Interval time.Duration `fig:"interval,required"`
}

Jump to

Keyboard shortcuts

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