Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
matteriot committed Jan 20, 2024
1 parent 41946c9 commit 8df405c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions client/aar.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import (
"github.com/OpenIoTHub/utils/models"
"github.com/grandcat/zeroconf"
"google.golang.org/grpc"
"google.golang.org/grpc/reflection"
"log"
"net"
)
Expand Down Expand Up @@ -38,6 +39,7 @@ func start() {
}
//addr := lis.Addr().(*net.TCPAddr)
log.Printf("Grpc 监听端口:%d\n", port)
reflection.Register(s)
go regMDNS(port)
if err := s.Serve(lis); err != nil {
log.Fatalf("failed to serve: %v", err)
Expand Down

0 comments on commit 8df405c

Please sign in to comment.