add sql wrapper tests, regen
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
@@ -9,6 +9,7 @@ import (
|
||||
proto "go.unistack.org/micro-tests/client/grpc/proto"
|
||||
api "go.unistack.org/micro/v3/api"
|
||||
client "go.unistack.org/micro/v3/client"
|
||||
metadata "go.unistack.org/micro/v3/metadata"
|
||||
server "go.unistack.org/micro/v3/server"
|
||||
)
|
||||
|
||||
@@ -62,6 +63,10 @@ func (s *testClientStream) RecvMsg(msg interface{}) error {
|
||||
return s.stream.Recv(msg)
|
||||
}
|
||||
|
||||
func (s *testClientStream) Header() metadata.Metadata {
|
||||
return s.stream.Response().Header()
|
||||
}
|
||||
|
||||
func (s *testClientStream) Send(msg *proto.Request) error {
|
||||
return s.stream.Send(msg)
|
||||
}
|
||||
|
Reference in New Issue
Block a user