Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
2022-01-24 22:44:26 +03:00
parent 8a71466ba4
commit 88a4c1641d
48 changed files with 200 additions and 137 deletions

View File

@@ -7,12 +7,13 @@
package pb
import (
reflect "reflect"
sync "sync"
_ "go.unistack.org/micro-proto/v3/api"
_ "go.unistack.org/micro-proto/v3/openapiv3"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
sync "sync"
)
const (
@@ -503,18 +504,21 @@ func file_test_proto_rawDescGZIP() []byte {
return file_test_proto_rawDescData
}
var file_test_proto_msgTypes = make([]protoimpl.MessageInfo, 9)
var file_test_proto_goTypes = []interface{}{
(*MailUserReq)(nil), // 0: test.MailUserReq
(*MailUserRsp)(nil), // 1: test.MailUserRsp
(*UpdateUserReq)(nil), // 2: test.UpdateUserReq
(*UpdateUserRsp)(nil), // 3: test.UpdateUserRsp
(*DeleteUserReq)(nil), // 4: test.DeleteUserReq
(*DeleteUserRsp)(nil), // 5: test.DeleteUserRsp
(*LookupUserReq)(nil), // 6: test.LookupUserReq
(*LookupUserRsp)(nil), // 7: test.LookupUserRsp
(*Error)(nil), // 8: test.Error
}
var (
file_test_proto_msgTypes = make([]protoimpl.MessageInfo, 9)
file_test_proto_goTypes = []interface{}{
(*MailUserReq)(nil), // 0: test.MailUserReq
(*MailUserRsp)(nil), // 1: test.MailUserRsp
(*UpdateUserReq)(nil), // 2: test.UpdateUserReq
(*UpdateUserRsp)(nil), // 3: test.UpdateUserRsp
(*DeleteUserReq)(nil), // 4: test.DeleteUserReq
(*DeleteUserRsp)(nil), // 5: test.DeleteUserRsp
(*LookupUserReq)(nil), // 6: test.LookupUserReq
(*LookupUserRsp)(nil), // 7: test.LookupUserRsp
(*Error)(nil), // 8: test.Error
}
)
var file_test_proto_depIdxs = []int32{
6, // 0: test.TestService.LookupUser:input_type -> test.LookupUserReq
2, // 1: test.TestService.UpdateUser:input_type -> test.UpdateUserReq

View File

@@ -6,6 +6,7 @@ package pb
import (
context "context"
api "go.unistack.org/micro/v3/api"
client "go.unistack.org/micro/v3/client"
)

View File

@@ -6,12 +6,13 @@ package pb
import (
context "context"
http "net/http"
time "time"
v3 "go.unistack.org/micro-client-http/v3"
api "go.unistack.org/micro/v3/api"
client "go.unistack.org/micro/v3/client"
server "go.unistack.org/micro/v3/server"
http "net/http"
time "time"
)
type testServiceClient struct {