fix config
This commit is contained in:
parent
93cd6897d3
commit
b722e7301d
@ -24,9 +24,9 @@ const (
|
|||||||
)
|
)
|
||||||
|
|
||||||
type Node struct {
|
type Node struct {
|
||||||
PeerId string `yaml:"peerId"`
|
PeerId string `yaml:"peerId" bson:"peerId"`
|
||||||
Addresses []string `yaml:"address"`
|
Addresses []string `yaml:"addresses" bson:"addresses"`
|
||||||
Types []NodeType `yaml:"types,omitempty"`
|
Types []NodeType `yaml:"types,omitempty" bson:"types"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (n Node) Id() string {
|
func (n Node) Id() string {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user