settings

package
v0.0.0-...-7c2ba20 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2022 License: GPL-3.0 Imports: 6 Imported by: 0

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

Jump to

Keyboard shortcuts

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