update all

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
2021-09-12 23:51:45 +03:00
parent 9d59e4cdb4
commit 296625b820
7 changed files with 83 additions and 161 deletions

View File

@@ -1,3 +1,5 @@
//go:build ignore
package drpc
import (
@@ -6,18 +8,17 @@ import (
"sync"
"github.com/unistack-org/micro/v3/client"
"google.golang.org/grpc"
)
// Implements the streamer interface
type drpcStream struct {
grpc.ClientStream
// grpc.ClientStream
context context.Context
err error
request client.Request
response client.Response
close func(err error)
//conn *poolConn
// conn *poolConn
sync.RWMutex
closed bool
}