add sql wrapper tests, regen
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
// Code generated by protoc-gen-go-micro. DO NOT EDIT.
|
||||
// protoc-gen-go-micro version: v3.5.3
|
||||
// versions:
|
||||
// - protoc-gen-go-micro v3.5.3
|
||||
// - protoc v3.21.12
|
||||
// source: test.proto
|
||||
|
||||
package helloworld
|
||||
@@ -9,6 +11,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"
|
||||
)
|
||||
|
||||
var (
|
||||
@@ -31,6 +34,7 @@ type Test_StreamClient interface {
|
||||
SendMsg(msg interface{}) error
|
||||
RecvMsg(msg interface{}) error
|
||||
Close() error
|
||||
Header() metadata.Metadata
|
||||
Send(msg *proto.Request) error
|
||||
Recv() (*proto.Response, error)
|
||||
}
|
||||
|
@@ -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)
|
||||
}
|
||||
|
@@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.26.0
|
||||
// protoc v3.19.4
|
||||
// protoc v3.21.12
|
||||
// source: test.proto
|
||||
|
||||
package helloworld
|
||||
|
@@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
|
||||
// versions:
|
||||
// - protoc-gen-go-grpc v1.2.0
|
||||
// - protoc v3.19.4
|
||||
// - protoc v3.21.12
|
||||
// source: test.proto
|
||||
|
||||
package helloworld
|
||||
|
Reference in New Issue
Block a user