可以直接在节点启动时自动注册节点

This commit is contained in:
刘祥超
2020-10-17 11:14:40 +08:00
parent 5be9e31365
commit bf07747b7e
7 changed files with 130 additions and 4 deletions

View File

@@ -48,6 +48,7 @@ func (this *APIStream) loop() error {
return errors.Wrap(err)
}
this.stream = nodeStream
for {
message, err := nodeStream.Recv()
if err != nil {