Discover Packages
github.com/horizon-games/eth-state-channels-research
server
config
package
Version:
v0.1.0
Opens a new window with list of versions in this module.
Published: Aug 17, 2018
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type ArcadeumConfig struct {
EtherscanPriceURL string `toml:"etherscan_price_url"`
MinStakeUSD float32 `toml:"min_stake_usd"`
ContractAddress string `toml:"contract_address"`
Games []GameInfo `toml:"games"`
}
type ENVConfig struct {
Mode string `toml:"mode"`
Environment string `toml:"environment"`
DebugMode bool `toml:"debug_mode"`
Port int `toml:"port"`
TLSEnabled bool `toml:"tls_enabled"`
TLSCertFile string `toml:"tls_cert_file"`
TLSKeyFile string `toml:"tls_key_file"`
}
type ETHConfig struct {
NodeURL string `toml:"node_url"`
}
type GameInfo struct {
ID uint32 `toml:"id"`
Name string `toml:"name"`
ContractAddress string `toml:"contract_address"`
}
type MatcherConfig struct {
AccountAddress common .Address
PrivKeyFile string `toml:"priv_key_file"`
}
type RedisConfig struct {
Address string `toml:"address"`
Password string `toml:"password"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.