dione/node/config.go
2020-10-20 21:58:24 +03:00

20 lines
548 B
Go

package node
type Config struct {
EthPrivateKey string `toml:"ethPrivateKey"`
ListenAddress string `toml:"listenAddress"`
ListenPort string `toml:"listenPort"`
BootstrapAddress string `toml:"bootstrapAddress"`
RendezvousString string `toml:"rendezvousString"`
PubSub PubSubConfig `toml:"pubSub"`
}
type PubSubConfig struct {
ProtocolID string `toml:"protocolID"`
}
type EthereumConfig struct {
PrivateKey string `toml:"privateKey"`
GatewayAddress string `toml:"gatewayAddress"`
}