dione/node/config.go
2020-08-19 23:26:48 +04: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 EtheriumConfig struct {
PrivateKey string `toml:"privateKey"`
GatewayAddress string `toml:"gatewayAddress"`
}