1
0
Fork 0
mirror of https://github.com/anyproto/any-sync.git synced 2025-06-12 02:30:41 +09:00
any-sync/config/nodes.go
2022-10-04 16:36:11 +03:00

9 lines
274 B
Go

package config
type Node struct {
PeerId string `yaml:"peerId"`
Address string `yaml:"address"`
SigningKey string `yaml:"signingKey,omitempty"`
EncryptionKey string `yaml:"encryptionKey,omitempty"`
IsConsensus bool `yaml:"isConsensus,omitempty"`
}