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

This commit is contained in:
GoEdgeLab
2020-10-17 11:14:40 +08:00
parent 8ea2cc9a64
commit f1ffe8c438
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 {