Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Configuration ¶ added in v1.1.14
type Configuration struct { Gin struct { Mode string `mapstructure:"mode"` ReverseProxy bool `mapstructure:"reverse_proxy"` } `mapstructure:"gin"` Platform []string `mapstructure:"platform"` RestAPI string `mapstructure:"rest_api"` SpamWords []string `mapstructure:"spam_words"` Subscriber string `mapstructure:"subscriber"` Observer struct { Backlog time.Duration `mapstructure:"backlog"` FetchBlocksInterval time.Duration `mapstructure:"fetch_blocks_interval"` BacklogMaxBlocks int64 `mapstructure:"backlog_max_blocks"` TxsBatchLimit uint `mapstructure:"txs_batch_limit"` PushNotificationsBatchLimit int `mapstructure:"push_notifications_batch_limit"` BlockPoll struct { Min time.Duration `mapstructure:"min"` Max time.Duration `mapstructure:"max"` } `mapstructure:"block_poll"` Rabbitmq struct { URL string `mapstructure:"url"` Consumer struct { PrefetchCount int `mapstructure:"prefetch_count"` } `mapstructure:"consumer"` } `mapstructure:"rabbitmq"` } `mapstructure:"observer"` Postgres struct { URL string `mapstructure:"url"` Read struct { URL string `mapstructure:"url"` } `mapstructure:"read"` Log bool `mapstructure:"log"` } `mapstructure:"postgres"` Ethereum struct { API string `mapstructure:"api"` BlockbookAPI string `mapstructure:"blockbook_api"` CollectionsAPI string `mapstructure:"collections_api"` CollectionsKey string `mapstructure:"collections_api_key"` RPC string `mapstructure:"rpc"` } `mapstructure:"ethereum"` Binance struct { API string `mapstructure:"api"` Explorer string `mapstructure:"explorer"` } `mapstructure:"binance"` Ripple struct { API string `mapstructure:"api"` } `mapstructure:"ripple"` Stellar struct { API string `mapstructure:"api"` } `mapstructure:"stellar"` Kin struct { API string `mapstructure:"api"` } `mapstructure:"kin"` Nimiq struct { API string `mapstructure:"api"` } `mapstructure:"nimiq"` Tezos struct { API string `mapstructure:"api"` RPC string `mapstructure:"rpc"` } `mapstructure:"tezos"` Thundertoken struct { API string `mapstructure:"api"` RPC string `mapstructure:"rpc"` } `mapstructure:"thundertoken"` Gochain struct { API string `mapstructure:"api"` RPC string `mapstructure:"rpc"` } `mapstructure:"gochain"` Classic struct { API string `mapstructure:"api"` RPC string `mapstructure:"rpc"` } `mapstructure:"classic"` Smartchain struct { API string `mapstructure:"api"` RPC string `mapstructure:"rpc"` } `mapstructure:"smartchain"` BSC struct { API string `mapstructure:"api"` RPC string `mapstructure:"rpc"` } `mapstructure:"bsc"` Poa struct { API string `mapstructure:"api"` RPC string `mapstructure:"rpc"` } `mapstructure:"poa"` Callisto struct { API string `mapstructure:"api"` RPC string `mapstructure:"rpc"` } `mapstructure:"callisto"` Wanchain struct { API string `mapstructure:"api"` RPC string `mapstructure:"rpc"` } `mapstructure:"wanchain"` Tomochain struct { API string `mapstructure:"api"` RPC string `mapstructure:"rpc"` } `mapstructure:"tomochain"` Aion struct { API string `mapstructure:"api"` } `mapstructure:"aion"` Icon struct { API string `mapstructure:"api"` } `mapstructure:"icon"` Tron struct { API string `mapstructure:"api"` Explorer string `mapstructure:"explorer"` } `mapstructure:"tron"` Vechain struct { API string `mapstructure:"api"` } `mapstructure:"vechain"` Theta struct { API string `mapstructure:"api"` } `mapstructure:"theta"` Cosmos struct { API string `mapstructure:"api"` } `mapstructure:"cosmos"` Ontology struct { API string `mapstructure:"api"` } `mapstructure:"ontology"` Zilliqa struct { API string `mapstructure:"api"` RPC string `mapstructure:"rpc"` Key string `mapstructure:"key"` } `mapstructure:"zilliqa"` Iotex struct { API string `mapstructure:"api"` } `mapstructure:"iotex"` Waves struct { API string `mapstructure:"api"` } `mapstructure:"waves"` Aeternity struct { API string `mapstructure:"api"` } `mapstructure:"aeternity"` Nebulas struct { API string `mapstructure:"api"` } `mapstructure:"nebulas"` Fio struct { API string `mapstructure:"api"` } `mapstructure:"fio"` Bitcoin struct { API string `mapstructure:"api"` } `mapstructure:"bitcoin"` Litecoin struct { API string `mapstructure:"api"` } `mapstructure:"litecoin"` Bitcoincash struct { API string `mapstructure:"api"` } `mapstructure:"bitcoincash"` Doge struct { API string `mapstructure:"api"` } `mapstructure:"doge"` Dash struct { API string `mapstructure:"api"` } `mapstructure:"dash"` Zcoin struct { API string `mapstructure:"api"` } `mapstructure:"zcoin"` Zcash struct { API string `mapstructure:"api"` } `mapstructure:"zcash"` Zelcash struct { API string `mapstructure:"api"` } `mapstructure:"zelcash"` Viacoin struct { API string `mapstructure:"api"` } `mapstructure:"viacoin"` Qtum struct { API string `mapstructure:"api"` } `mapstructure:"qtum"` Groestlcoin struct { API string `mapstructure:"api"` } `mapstructure:"groestlcoin"` Ravencoin struct { API string `mapstructure:"api"` } `mapstructure:"ravencoin"` Decred struct { API string `mapstructure:"api"` } `mapstructure:"decred"` Algorand struct { API string `mapstructure:"api"` } `mapstructure:"algorand"` Nano struct { API string `mapstructure:"api"` } `mapstructure:"nano"` Digibyte struct { API string `mapstructure:"api"` } `mapstructure:"digibyte"` Harmony struct { API string `mapstructure:"api"` } `mapstructure:"harmony"` Kava struct { API string `mapstructure:"api"` } `mapstructure:"kava"` Kusama struct { API string `mapstructure:"api"` } `mapstructure:"kusama"` Polkadot struct { API string `mapstructure:"api"` } `mapstructure:"polkadot"` Solana struct { API string `mapstructure:"api"` } `mapstructure:"solana"` Near struct { API string `mapstructure:"api"` } `mapstructure:"near"` Elrond struct { API string `mapstructure:"api"` } `mapstructure:"elrond"` Filecoin struct { API string `mapstructure:"api"` } `mapstructure:"filecoin"` }
var Default Configuration
Click to show internal directories.
Click to hide internal directories.