Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Config struct {
Simulator struct {
ServerPort int `toml:"server-port"`
NumOfShards int `toml:"num-of-shards"`
RoundsPerEpoch int `toml:"rounds-per-epoch"`
RoundDurationInMs int `toml:"round-duration-in-milliseconds"`
MxChainRepo string `toml:"mx-chain-go-repo"`
MxProxyRepo string `toml:"mx-chain-proxy-go-repo"`
} `toml:"simulator"`
Logs struct {
LogFileLifeSpanInMB int `toml:"log-file-life-span-in-mb"`
LogFileLifeSpanInSec int `toml:"log-file-life-span-in-sec"`
LogFilePrefix string `toml:"log-file-prefix"`
LogsPath string `toml:"logs-path"`
} `toml:"logs"`
} `toml:"config"`
}
Config will hold the whole config file's data
Click to show internal directories.
Click to hide internal directories.