Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { ServiceEndpoint string `env:"HTTP_SERVICE_ENDPOINT"` DatabaseDSN string `env:"DATABASE_DSN"` DefaultDatasourceURI string `env:"DEFAULT_DATASOURCE_URI"` BootNodeMultiAddr string `env:"BOOTNODE_MULTIADDR"` IoTeXChainID int `env:"IOTEX_CHAINID"` ChainEndpoint string `env:"CHAIN_ENDPOINT,optional"` ProjectContractAddr string `env:"PROJECT_CONTRACT_ADDRESS,optional"` ProverContractAddr string `env:"PROVER_CONTRACT_ADDRESS,optional"` IPFSEndpoint string `env:"IPFS_ENDPOINT"` OperatorPriKey string `env:"OPERATOR_PRIVATE_KEY,optional"` OperatorPriKeyED25519 string `env:"OPERATOR_PRIVATE_KEY_ED25519,optional"` ProjectFileDir string `env:"PROJECT_FILE_DIRECTORY,optional"` ProjectCacheDir string `env:"PROJECT_CACHE_DIRECTORY,optional"` LocalDBDir string `env:"LOCAL_DB_DIRECTORY,optional"` SchedulerEpoch uint64 `env:"SCHEDULER_EPOCH,optional"` BeginningBlockNumber uint64 `env:"BEGINNING_BLOCK_NUMBER,optional"` LogLevel int `env:"LOG_LEVEL,optional"` SequencerPubKey string `env:"SEQUENCER_PUBKEY,optional"` ContractWhitelist string `env:"CONTRACT_WHITELIST,optional"` // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.