Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAppSettings ¶
func NewAppSettings() common.IAppSettings
Types ¶
type ISettings ¶
type ISettings interface { CacheAddr() string CacheDB() int CachePassword() string CacheUseTLS() bool DatabaseURI() string Database() string StoreBlockchain() string StoreAddress() string // This ethereum uri should be used for most workflows. EthereumMainURI() string // This ethereum secondary uri is intended to offload traffic from the main uri and avoid rate limiting for critical paths. // this URI should be used sparringly for critical workflows. EthereumSecondaryURI() string PolygonMainURI() string ArbitrumMainURI() string OptimismMainURI() string ENSMetadataURI() string // This ethereum uri is specific to alchemy and is intended for alchemy only apis (e.g. get all nfts). AlchemyEthereumURI() string CryptoKittiesMetadataURI() string IPFSURI() string TheGraphURI() string TheGraphHostedURI() string DefaultTokenAddresses() []string SpotlightProfileAddresses() []string }
func NewSettings ¶
func NewSettings() ISettings
Click to show internal directories.
Click to hide internal directories.