configuration from config
This commit is contained in:
1 parent
8a058b8b23
commit
fe2c8bdade
4 files changed
+70
-23
No files matched your search
@@ -24,6 +24,14 @@ type Node struct {
|
||||
EncryptionKeyString string
|
||||
}
|
||||
|
||||
func (n *Node) Id() string {
|
||||
return n.PeerId
|
||||
}
|
||||
|
||||
func (n *Node) Capacity() float64 {
|
||||
return 1
|
||||
}
|
||||
|
||||
func New() app.Component {
|
||||
return &service{}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user