listenGRPCServer -> startGRPCServer

This commit is contained in:
Jonathan Barrow 2022-09-10 09:40:16 -04:00
parent 8b1f750825
commit fab5c19aef
No known key found for this signature in database
GPG Key ID: E86E9FE9049C741F
2 changed files with 2 additions and 2 deletions

View File

@ -47,7 +47,7 @@ func (s *gRPCFriendsServer) SendUserNotificationWiiU(ctx context.Context, in *pb
return &empty.Empty{}, nil
}
func listenGRPCServer() {
func startGRPCServer() {
listener, err := net.Listen("tcp", ":50051")
if err != nil {
log.Fatalf("failed to listen: %v", err)

View File

@ -15,7 +15,7 @@ var wg sync.WaitGroup
func main() {
wg.Add(2)
go listenGRPCServer()
go startGRPCServer()
go nexServerStart()
wg.Wait()