feat: update protoc

This commit is contained in:
Manfred Touron
2020-07-08 23:31:19 +02:00
parent 014a8d4143
commit 7b16849798
9 changed files with 737 additions and 105 deletions

View File

@@ -27,7 +27,7 @@ func New(conn *grpc.ClientConn, logger log.Logger) pb.{{.File.Package | title}}S
Encode{{.Name}}Request,
Decode{{.Name}}Response,
pb.{{.Name}}Response{},
append([]grpctransport.ClientOption{}, grpctransport.ClientBefore(jwt.FromGRPCContext()))...,
append([]grpctransport.ClientOption{}, grpctransport.ClientBefore(jwt.ContextToGRPC()))...,
).Endpoint()
}
{{end}}