Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
2021-09-13 00:29:12 +03:00
parent d797edb9a7
commit d8aaf588bd
4 changed files with 10 additions and 24 deletions

View File

@@ -13,7 +13,6 @@ import (
"strings"
"sync"
"time"
// nolint: staticcheck
"github.com/unistack-org/micro/v3/broker"
@@ -34,7 +33,7 @@ import (
)
const (
defaultContentType = "application/grpc+proto"
defaultContentType = "application/drpc+proto"
)
/*
@@ -46,7 +45,7 @@ type grpcServerReflection struct {
type grpcServer struct {
handlers map[string]server.Handler
srv *grpc.Server
// srv *grpc.Server
exit chan chan error
wg *sync.WaitGroup
rsvc *register.Service