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

@ -11,9 +11,16 @@ updates:
directory: "/" directory: "/"
schedule: schedule:
interval: "daily" interval: "daily"
commit-message:
prefix: "chore"
include: "scope"
# Maintain dependencies for Golang # Maintain dependencies for Golang
- package-ecosystem: "gomod" - package-ecosystem: "gomod"
directory: "/" directory: "/"
schedule: schedule:
interval: "daily" interval: "daily"
commit-message:
prefix: "chore"
include: "scope"

20
.github/renovate.json vendored
View File

@ -1,20 +0,0 @@
{
"extends": [
"config:base"
],
"postUpdateOptions": ["gomodTidy"],
"packageRules": [
{
"matchUpdateTypes": ["minor", "patch", "pin", "digest"],
"automerge": true
},
{
"groupName": "all deps",
"separateMajorMinor": true,
"groupSlug": "all",
"packagePatterns": [
"*"
]
}
]
}

View File

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

2
go.mod
View File

@ -1,4 +1,4 @@
module github.com/unistack-org/micro-server-grpc/v3 module github.com/unistack-org/micro-server-drpc/v3
go 1.16 go 1.16