Documentation
¶
Index ¶
Constants ¶
View Source
const (
DEFAULT_CONFIG_FILE_NAME = "./config.json"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { WalletFile string `json:"WalletFile"` LogLevel int `json:"LogLevel"` MaxLogSize int64 `json:"MaxLogSize"` ONTRPCAddress string `json:"ONTRPCAddress"` ScannerInterval int `json:"ScannerInterval"` GasPrice uint64 `json:"GasPrice"` GasLimit uint64 `json:"GasLimit"` ContractAddress string `json:"ContractAddress"` RandomOrgKey string `json:"RandomOrgKey"` }
Config holds parameters used by the application which can be overridden by setting environment variables.
var Configuration *Config
Click to show internal directories.
Click to hide internal directories.