|
@@ -1,17 +1,12 @@
|
|
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
|
// versions:
|
|
|
-// protoc-gen-go v1.25.0
|
|
|
-// protoc v3.15.6
|
|
|
+// protoc-gen-go v1.28.0
|
|
|
+// protoc v3.19.4
|
|
|
// source: stdlib.proto
|
|
|
|
|
|
package stdlib
|
|
|
|
|
|
import (
|
|
|
- context "context"
|
|
|
- proto "github.com/golang/protobuf/proto"
|
|
|
- grpc "google.golang.org/grpc"
|
|
|
- codes "google.golang.org/grpc/codes"
|
|
|
- status "google.golang.org/grpc/status"
|
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
|
reflect "reflect"
|
|
@@ -25,10 +20,6 @@ const (
|
|
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
|
)
|
|
|
|
|
|
-// This is a compile-time assertion that a sufficiently up-to-date version
|
|
|
-// of the legacy proto package is being used.
|
|
|
-const _ = proto.ProtoPackageIsVersion4
|
|
|
-
|
|
|
type DocQueryRequest struct {
|
|
|
state protoimpl.MessageState
|
|
|
sizeCache protoimpl.SizeCache
|
|
@@ -1168,6 +1159,107 @@ func (x *DocActivityResp) GetTotal() int32 {
|
|
|
return 0
|
|
|
}
|
|
|
|
|
|
+type DocIndexTagReq struct {
|
|
|
+ state protoimpl.MessageState
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
+}
|
|
|
+
|
|
|
+func (x *DocIndexTagReq) Reset() {
|
|
|
+ *x = DocIndexTagReq{}
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
+ mi := &file_stdlib_proto_msgTypes[13]
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+func (x *DocIndexTagReq) String() string {
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+func (*DocIndexTagReq) ProtoMessage() {}
|
|
|
+
|
|
|
+func (x *DocIndexTagReq) ProtoReflect() protoreflect.Message {
|
|
|
+ mi := &file_stdlib_proto_msgTypes[13]
|
|
|
+ if protoimpl.UnsafeEnabled && x != nil {
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ if ms.LoadMessageInfo() == nil {
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+ return ms
|
|
|
+ }
|
|
|
+ return mi.MessageOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+// Deprecated: Use DocIndexTagReq.ProtoReflect.Descriptor instead.
|
|
|
+func (*DocIndexTagReq) Descriptor() ([]byte, []int) {
|
|
|
+ return file_stdlib_proto_rawDescGZIP(), []int{13}
|
|
|
+}
|
|
|
+
|
|
|
+type DocIndexTagRes struct {
|
|
|
+ state protoimpl.MessageState
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
+
|
|
|
+ Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` //响应代码
|
|
|
+ Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` //响应消息
|
|
|
+ Tags []string `protobuf:"bytes,3,rep,name=tags,proto3" json:"tags,omitempty"` // 文档分类名称
|
|
|
+}
|
|
|
+
|
|
|
+func (x *DocIndexTagRes) Reset() {
|
|
|
+ *x = DocIndexTagRes{}
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
+ mi := &file_stdlib_proto_msgTypes[14]
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+func (x *DocIndexTagRes) String() string {
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+func (*DocIndexTagRes) ProtoMessage() {}
|
|
|
+
|
|
|
+func (x *DocIndexTagRes) ProtoReflect() protoreflect.Message {
|
|
|
+ mi := &file_stdlib_proto_msgTypes[14]
|
|
|
+ if protoimpl.UnsafeEnabled && x != nil {
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ if ms.LoadMessageInfo() == nil {
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+ return ms
|
|
|
+ }
|
|
|
+ return mi.MessageOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+// Deprecated: Use DocIndexTagRes.ProtoReflect.Descriptor instead.
|
|
|
+func (*DocIndexTagRes) Descriptor() ([]byte, []int) {
|
|
|
+ return file_stdlib_proto_rawDescGZIP(), []int{14}
|
|
|
+}
|
|
|
+
|
|
|
+func (x *DocIndexTagRes) GetCode() int32 {
|
|
|
+ if x != nil {
|
|
|
+ return x.Code
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *DocIndexTagRes) GetMsg() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.Msg
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *DocIndexTagRes) GetTags() []string {
|
|
|
+ if x != nil {
|
|
|
+ return x.Tags
|
|
|
+ }
|
|
|
+ return nil
|
|
|
+}
|
|
|
+
|
|
|
var File_stdlib_proto protoreflect.FileDescriptor
|
|
|
|
|
|
var file_stdlib_proto_rawDesc = []byte{
|
|
@@ -1321,35 +1413,46 @@ var file_stdlib_proto_rawDesc = []byte{
|
|
|
0x28, 0x0b, 0x32, 0x13, 0x2e, 0x73, 0x74, 0x64, 0x6c, 0x69, 0x62, 0x2e, 0x44, 0x6f, 0x63, 0x41,
|
|
|
0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x52, 0x04, 0x64, 0x6f, 0x63, 0x73, 0x12, 0x14, 0x0a,
|
|
|
0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x74, 0x6f,
|
|
|
- 0x74, 0x61, 0x6c, 0x32, 0xba, 0x03, 0x0a, 0x06, 0x53, 0x74, 0x64, 0x6c, 0x69, 0x62, 0x12, 0x3d,
|
|
|
- 0x0a, 0x08, 0x44, 0x6f, 0x63, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x17, 0x2e, 0x73, 0x74, 0x64,
|
|
|
- 0x6c, 0x69, 0x62, 0x2e, 0x44, 0x6f, 0x63, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75,
|
|
|
- 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x73, 0x74, 0x64, 0x6c, 0x69, 0x62, 0x2e, 0x44, 0x6f, 0x63,
|
|
|
- 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x34, 0x0a,
|
|
|
- 0x05, 0x44, 0x6f, 0x63, 0x4f, 0x6e, 0x12, 0x14, 0x2e, 0x73, 0x74, 0x64, 0x6c, 0x69, 0x62, 0x2e,
|
|
|
- 0x44, 0x6f, 0x63, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x71, 0x1a, 0x15, 0x2e, 0x73,
|
|
|
- 0x74, 0x64, 0x6c, 0x69, 0x62, 0x2e, 0x44, 0x6f, 0x63, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52,
|
|
|
- 0x65, 0x73, 0x70, 0x12, 0x35, 0x0a, 0x06, 0x44, 0x6f, 0x63, 0x4f, 0x66, 0x66, 0x12, 0x14, 0x2e,
|
|
|
- 0x73, 0x74, 0x64, 0x6c, 0x69, 0x62, 0x2e, 0x44, 0x6f, 0x63, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65,
|
|
|
+ 0x74, 0x61, 0x6c, 0x22, 0x10, 0x0a, 0x0e, 0x44, 0x6f, 0x63, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x54,
|
|
|
+ 0x61, 0x67, 0x52, 0x65, 0x71, 0x22, 0x4a, 0x0a, 0x0e, 0x44, 0x6f, 0x63, 0x49, 0x6e, 0x64, 0x65,
|
|
|
+ 0x78, 0x54, 0x61, 0x67, 0x52, 0x65, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18,
|
|
|
+ 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6d,
|
|
|
+ 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x12, 0x12, 0x0a,
|
|
|
+ 0x04, 0x74, 0x61, 0x67, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x74, 0x61, 0x67,
|
|
|
+ 0x73, 0x32, 0xf9, 0x03, 0x0a, 0x06, 0x53, 0x74, 0x64, 0x6c, 0x69, 0x62, 0x12, 0x3d, 0x0a, 0x08,
|
|
|
+ 0x44, 0x6f, 0x63, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x17, 0x2e, 0x73, 0x74, 0x64, 0x6c, 0x69,
|
|
|
+ 0x62, 0x2e, 0x44, 0x6f, 0x63, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
|
|
+ 0x74, 0x1a, 0x18, 0x2e, 0x73, 0x74, 0x64, 0x6c, 0x69, 0x62, 0x2e, 0x44, 0x6f, 0x63, 0x51, 0x75,
|
|
|
+ 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x34, 0x0a, 0x05, 0x44,
|
|
|
+ 0x6f, 0x63, 0x4f, 0x6e, 0x12, 0x14, 0x2e, 0x73, 0x74, 0x64, 0x6c, 0x69, 0x62, 0x2e, 0x44, 0x6f,
|
|
|
+ 0x63, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x71, 0x1a, 0x15, 0x2e, 0x73, 0x74, 0x64,
|
|
|
+ 0x6c, 0x69, 0x62, 0x2e, 0x44, 0x6f, 0x63, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x73,
|
|
|
+ 0x70, 0x12, 0x35, 0x0a, 0x06, 0x44, 0x6f, 0x63, 0x4f, 0x66, 0x66, 0x12, 0x14, 0x2e, 0x73, 0x74,
|
|
|
+ 0x64, 0x6c, 0x69, 0x62, 0x2e, 0x44, 0x6f, 0x63, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x65,
|
|
|
+ 0x71, 0x1a, 0x15, 0x2e, 0x73, 0x74, 0x64, 0x6c, 0x69, 0x62, 0x2e, 0x44, 0x6f, 0x63, 0x43, 0x68,
|
|
|
+ 0x61, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x12, 0x40, 0x0a, 0x0d, 0x44, 0x6f, 0x63, 0x53,
|
|
|
+ 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, 0x73, 0x12, 0x18, 0x2e, 0x73, 0x74, 0x64, 0x6c,
|
|
|
+ 0x69, 0x62, 0x2e, 0x44, 0x6f, 0x63, 0x53, 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, 0x73,
|
|
|
0x52, 0x65, 0x71, 0x1a, 0x15, 0x2e, 0x73, 0x74, 0x64, 0x6c, 0x69, 0x62, 0x2e, 0x44, 0x6f, 0x63,
|
|
|
- 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x12, 0x40, 0x0a, 0x0d, 0x44, 0x6f,
|
|
|
- 0x63, 0x53, 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, 0x73, 0x12, 0x18, 0x2e, 0x73, 0x74,
|
|
|
- 0x64, 0x6c, 0x69, 0x62, 0x2e, 0x44, 0x6f, 0x63, 0x53, 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, 0x69,
|
|
|
- 0x63, 0x73, 0x52, 0x65, 0x71, 0x1a, 0x15, 0x2e, 0x73, 0x74, 0x64, 0x6c, 0x69, 0x62, 0x2e, 0x44,
|
|
|
- 0x6f, 0x63, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x12, 0x3e, 0x0a, 0x0b,
|
|
|
- 0x44, 0x6f, 0x63, 0x47, 0x65, 0x74, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x12, 0x16, 0x2e, 0x73, 0x74,
|
|
|
+ 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x12, 0x3e, 0x0a, 0x0b, 0x44, 0x6f,
|
|
|
+ 0x63, 0x47, 0x65, 0x74, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x12, 0x16, 0x2e, 0x73, 0x74, 0x64, 0x6c,
|
|
|
+ 0x69, 0x62, 0x2e, 0x44, 0x6f, 0x63, 0x47, 0x65, 0x74, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65,
|
|
|
+ 0x71, 0x1a, 0x17, 0x2e, 0x73, 0x74, 0x64, 0x6c, 0x69, 0x62, 0x2e, 0x44, 0x6f, 0x63, 0x47, 0x65,
|
|
|
+ 0x74, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x12, 0x42, 0x0a, 0x0d, 0x44, 0x6f,
|
|
|
+ 0x63, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x16, 0x2e, 0x73, 0x74,
|
|
|
0x64, 0x6c, 0x69, 0x62, 0x2e, 0x44, 0x6f, 0x63, 0x47, 0x65, 0x74, 0x43, 0x68, 0x65, 0x63, 0x6b,
|
|
|
- 0x52, 0x65, 0x71, 0x1a, 0x17, 0x2e, 0x73, 0x74, 0x64, 0x6c, 0x69, 0x62, 0x2e, 0x44, 0x6f, 0x63,
|
|
|
- 0x47, 0x65, 0x74, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x12, 0x42, 0x0a, 0x0d,
|
|
|
- 0x44, 0x6f, 0x63, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x16, 0x2e,
|
|
|
- 0x73, 0x74, 0x64, 0x6c, 0x69, 0x62, 0x2e, 0x44, 0x6f, 0x63, 0x47, 0x65, 0x74, 0x43, 0x68, 0x65,
|
|
|
- 0x63, 0x6b, 0x52, 0x65, 0x71, 0x1a, 0x19, 0x2e, 0x73, 0x74, 0x64, 0x6c, 0x69, 0x62, 0x2e, 0x44,
|
|
|
- 0x6f, 0x63, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70,
|
|
|
- 0x12, 0x3e, 0x0a, 0x0b, 0x44, 0x6f, 0x63, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x12,
|
|
|
- 0x16, 0x2e, 0x73, 0x74, 0x64, 0x6c, 0x69, 0x62, 0x2e, 0x44, 0x6f, 0x63, 0x41, 0x63, 0x74, 0x69,
|
|
|
- 0x76, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x1a, 0x17, 0x2e, 0x73, 0x74, 0x64, 0x6c, 0x69, 0x62,
|
|
|
- 0x2e, 0x44, 0x6f, 0x63, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x52, 0x65, 0x73, 0x70,
|
|
|
- 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
|
+ 0x52, 0x65, 0x71, 0x1a, 0x19, 0x2e, 0x73, 0x74, 0x64, 0x6c, 0x69, 0x62, 0x2e, 0x44, 0x6f, 0x63,
|
|
|
+ 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x3e,
|
|
|
+ 0x0a, 0x0b, 0x44, 0x6f, 0x63, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x12, 0x16, 0x2e,
|
|
|
+ 0x73, 0x74, 0x64, 0x6c, 0x69, 0x62, 0x2e, 0x44, 0x6f, 0x63, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69,
|
|
|
+ 0x74, 0x79, 0x52, 0x65, 0x71, 0x1a, 0x17, 0x2e, 0x73, 0x74, 0x64, 0x6c, 0x69, 0x62, 0x2e, 0x44,
|
|
|
+ 0x6f, 0x63, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x52, 0x65, 0x73, 0x70, 0x12, 0x3d,
|
|
|
+ 0x0a, 0x0b, 0x44, 0x6f, 0x63, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x54, 0x61, 0x67, 0x12, 0x16, 0x2e,
|
|
|
+ 0x73, 0x74, 0x64, 0x6c, 0x69, 0x62, 0x2e, 0x44, 0x6f, 0x63, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x54,
|
|
|
+ 0x61, 0x67, 0x52, 0x65, 0x71, 0x1a, 0x16, 0x2e, 0x73, 0x74, 0x64, 0x6c, 0x69, 0x62, 0x2e, 0x44,
|
|
|
+ 0x6f, 0x63, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x54, 0x61, 0x67, 0x52, 0x65, 0x73, 0x42, 0x0a, 0x5a,
|
|
|
+ 0x08, 0x2e, 0x2f, 0x73, 0x74, 0x64, 0x6c, 0x69, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
|
|
+ 0x33,
|
|
|
}
|
|
|
|
|
|
var (
|
|
@@ -1364,7 +1467,7 @@ func file_stdlib_proto_rawDescGZIP() []byte {
|
|
|
return file_stdlib_proto_rawDescData
|
|
|
}
|
|
|
|
|
|
-var file_stdlib_proto_msgTypes = make([]protoimpl.MessageInfo, 13)
|
|
|
+var file_stdlib_proto_msgTypes = make([]protoimpl.MessageInfo, 15)
|
|
|
var file_stdlib_proto_goTypes = []interface{}{
|
|
|
(*DocQueryRequest)(nil), // 0: stdlib.DocQueryRequest
|
|
|
(*DocQueryResponse)(nil), // 1: stdlib.DocQueryResponse
|
|
@@ -1379,6 +1482,8 @@ var file_stdlib_proto_goTypes = []interface{}{
|
|
|
(*DocActivityReq)(nil), // 10: stdlib.DocActivityReq
|
|
|
(*DocActivity)(nil), // 11: stdlib.DocActivity
|
|
|
(*DocActivityResp)(nil), // 12: stdlib.DocActivityResp
|
|
|
+ (*DocIndexTagReq)(nil), // 13: stdlib.DocIndexTagReq
|
|
|
+ (*DocIndexTagRes)(nil), // 14: stdlib.DocIndexTagRes
|
|
|
}
|
|
|
var file_stdlib_proto_depIdxs = []int32{
|
|
|
2, // 0: stdlib.DocQueryResponse.docs:type_name -> stdlib.Doc
|
|
@@ -1391,15 +1496,17 @@ var file_stdlib_proto_depIdxs = []int32{
|
|
|
6, // 7: stdlib.Stdlib.DocGetCheck:input_type -> stdlib.DocGetCheckReq
|
|
|
6, // 8: stdlib.Stdlib.DocGetContent:input_type -> stdlib.DocGetCheckReq
|
|
|
10, // 9: stdlib.Stdlib.DocActivity:input_type -> stdlib.DocActivityReq
|
|
|
- 1, // 10: stdlib.Stdlib.DocQuery:output_type -> stdlib.DocQueryResponse
|
|
|
- 4, // 11: stdlib.Stdlib.DocOn:output_type -> stdlib.DocChangeResp
|
|
|
- 4, // 12: stdlib.Stdlib.DocOff:output_type -> stdlib.DocChangeResp
|
|
|
- 4, // 13: stdlib.Stdlib.DocStatistics:output_type -> stdlib.DocChangeResp
|
|
|
- 7, // 14: stdlib.Stdlib.DocGetCheck:output_type -> stdlib.DocGetCheckResp
|
|
|
- 9, // 15: stdlib.Stdlib.DocGetContent:output_type -> stdlib.DocGetContentResp
|
|
|
- 12, // 16: stdlib.Stdlib.DocActivity:output_type -> stdlib.DocActivityResp
|
|
|
- 10, // [10:17] is the sub-list for method output_type
|
|
|
- 3, // [3:10] is the sub-list for method input_type
|
|
|
+ 13, // 10: stdlib.Stdlib.DocIndexTag:input_type -> stdlib.DocIndexTagReq
|
|
|
+ 1, // 11: stdlib.Stdlib.DocQuery:output_type -> stdlib.DocQueryResponse
|
|
|
+ 4, // 12: stdlib.Stdlib.DocOn:output_type -> stdlib.DocChangeResp
|
|
|
+ 4, // 13: stdlib.Stdlib.DocOff:output_type -> stdlib.DocChangeResp
|
|
|
+ 4, // 14: stdlib.Stdlib.DocStatistics:output_type -> stdlib.DocChangeResp
|
|
|
+ 7, // 15: stdlib.Stdlib.DocGetCheck:output_type -> stdlib.DocGetCheckResp
|
|
|
+ 9, // 16: stdlib.Stdlib.DocGetContent:output_type -> stdlib.DocGetContentResp
|
|
|
+ 12, // 17: stdlib.Stdlib.DocActivity:output_type -> stdlib.DocActivityResp
|
|
|
+ 14, // 18: stdlib.Stdlib.DocIndexTag:output_type -> stdlib.DocIndexTagRes
|
|
|
+ 11, // [11:19] is the sub-list for method output_type
|
|
|
+ 3, // [3:11] is the sub-list for method input_type
|
|
|
3, // [3:3] is the sub-list for extension type_name
|
|
|
3, // [3:3] is the sub-list for extension extendee
|
|
|
0, // [0:3] is the sub-list for field type_name
|
|
@@ -1567,6 +1674,30 @@ func file_stdlib_proto_init() {
|
|
|
return nil
|
|
|
}
|
|
|
}
|
|
|
+ file_stdlib_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
|
|
|
+ switch v := v.(*DocIndexTagReq); i {
|
|
|
+ case 0:
|
|
|
+ return &v.state
|
|
|
+ case 1:
|
|
|
+ return &v.sizeCache
|
|
|
+ case 2:
|
|
|
+ return &v.unknownFields
|
|
|
+ default:
|
|
|
+ return nil
|
|
|
+ }
|
|
|
+ }
|
|
|
+ file_stdlib_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
|
|
|
+ switch v := v.(*DocIndexTagRes); i {
|
|
|
+ case 0:
|
|
|
+ return &v.state
|
|
|
+ case 1:
|
|
|
+ return &v.sizeCache
|
|
|
+ case 2:
|
|
|
+ return &v.unknownFields
|
|
|
+ default:
|
|
|
+ return nil
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
type x struct{}
|
|
|
out := protoimpl.TypeBuilder{
|
|
@@ -1574,7 +1705,7 @@ func file_stdlib_proto_init() {
|
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
|
RawDescriptor: file_stdlib_proto_rawDesc,
|
|
|
NumEnums: 0,
|
|
|
- NumMessages: 13,
|
|
|
+ NumMessages: 15,
|
|
|
NumExtensions: 0,
|
|
|
NumServices: 1,
|
|
|
},
|
|
@@ -1587,299 +1718,3 @@ func file_stdlib_proto_init() {
|
|
|
file_stdlib_proto_goTypes = nil
|
|
|
file_stdlib_proto_depIdxs = nil
|
|
|
}
|
|
|
-
|
|
|
-// Reference imports to suppress errors if they are not otherwise used.
|
|
|
-var _ context.Context
|
|
|
-var _ grpc.ClientConnInterface
|
|
|
-
|
|
|
-// This is a compile-time assertion to ensure that this generated file
|
|
|
-// is compatible with the grpc package it is being compiled against.
|
|
|
-const _ = grpc.SupportPackageIsVersion6
|
|
|
-
|
|
|
-// StdlibClient is the client API for Stdlib service.
|
|
|
-//
|
|
|
-// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
|
|
|
-type StdlibClient interface {
|
|
|
- DocQuery(ctx context.Context, in *DocQueryRequest, opts ...grpc.CallOption) (*DocQueryResponse, error)
|
|
|
- DocOn(ctx context.Context, in *DocChangeReq, opts ...grpc.CallOption) (*DocChangeResp, error)
|
|
|
- DocOff(ctx context.Context, in *DocChangeReq, opts ...grpc.CallOption) (*DocChangeResp, error)
|
|
|
- DocStatistics(ctx context.Context, in *DocStatisticsReq, opts ...grpc.CallOption) (*DocChangeResp, error)
|
|
|
- DocGetCheck(ctx context.Context, in *DocGetCheckReq, opts ...grpc.CallOption) (*DocGetCheckResp, error)
|
|
|
- DocGetContent(ctx context.Context, in *DocGetCheckReq, opts ...grpc.CallOption) (*DocGetContentResp, error)
|
|
|
- DocActivity(ctx context.Context, in *DocActivityReq, opts ...grpc.CallOption) (*DocActivityResp, error)
|
|
|
-}
|
|
|
-
|
|
|
-type stdlibClient struct {
|
|
|
- cc grpc.ClientConnInterface
|
|
|
-}
|
|
|
-
|
|
|
-func NewStdlibClient(cc grpc.ClientConnInterface) StdlibClient {
|
|
|
- return &stdlibClient{cc}
|
|
|
-}
|
|
|
-
|
|
|
-func (c *stdlibClient) DocQuery(ctx context.Context, in *DocQueryRequest, opts ...grpc.CallOption) (*DocQueryResponse, error) {
|
|
|
- out := new(DocQueryResponse)
|
|
|
- err := c.cc.Invoke(ctx, "/stdlib.Stdlib/DocQuery", in, out, opts...)
|
|
|
- if err != nil {
|
|
|
- return nil, err
|
|
|
- }
|
|
|
- return out, nil
|
|
|
-}
|
|
|
-
|
|
|
-func (c *stdlibClient) DocOn(ctx context.Context, in *DocChangeReq, opts ...grpc.CallOption) (*DocChangeResp, error) {
|
|
|
- out := new(DocChangeResp)
|
|
|
- err := c.cc.Invoke(ctx, "/stdlib.Stdlib/DocOn", in, out, opts...)
|
|
|
- if err != nil {
|
|
|
- return nil, err
|
|
|
- }
|
|
|
- return out, nil
|
|
|
-}
|
|
|
-
|
|
|
-func (c *stdlibClient) DocOff(ctx context.Context, in *DocChangeReq, opts ...grpc.CallOption) (*DocChangeResp, error) {
|
|
|
- out := new(DocChangeResp)
|
|
|
- err := c.cc.Invoke(ctx, "/stdlib.Stdlib/DocOff", in, out, opts...)
|
|
|
- if err != nil {
|
|
|
- return nil, err
|
|
|
- }
|
|
|
- return out, nil
|
|
|
-}
|
|
|
-
|
|
|
-func (c *stdlibClient) DocStatistics(ctx context.Context, in *DocStatisticsReq, opts ...grpc.CallOption) (*DocChangeResp, error) {
|
|
|
- out := new(DocChangeResp)
|
|
|
- err := c.cc.Invoke(ctx, "/stdlib.Stdlib/DocStatistics", in, out, opts...)
|
|
|
- if err != nil {
|
|
|
- return nil, err
|
|
|
- }
|
|
|
- return out, nil
|
|
|
-}
|
|
|
-
|
|
|
-func (c *stdlibClient) DocGetCheck(ctx context.Context, in *DocGetCheckReq, opts ...grpc.CallOption) (*DocGetCheckResp, error) {
|
|
|
- out := new(DocGetCheckResp)
|
|
|
- err := c.cc.Invoke(ctx, "/stdlib.Stdlib/DocGetCheck", in, out, opts...)
|
|
|
- if err != nil {
|
|
|
- return nil, err
|
|
|
- }
|
|
|
- return out, nil
|
|
|
-}
|
|
|
-
|
|
|
-func (c *stdlibClient) DocGetContent(ctx context.Context, in *DocGetCheckReq, opts ...grpc.CallOption) (*DocGetContentResp, error) {
|
|
|
- out := new(DocGetContentResp)
|
|
|
- err := c.cc.Invoke(ctx, "/stdlib.Stdlib/DocGetContent", in, out, opts...)
|
|
|
- if err != nil {
|
|
|
- return nil, err
|
|
|
- }
|
|
|
- return out, nil
|
|
|
-}
|
|
|
-
|
|
|
-func (c *stdlibClient) DocActivity(ctx context.Context, in *DocActivityReq, opts ...grpc.CallOption) (*DocActivityResp, error) {
|
|
|
- out := new(DocActivityResp)
|
|
|
- err := c.cc.Invoke(ctx, "/stdlib.Stdlib/DocActivity", in, out, opts...)
|
|
|
- if err != nil {
|
|
|
- return nil, err
|
|
|
- }
|
|
|
- return out, nil
|
|
|
-}
|
|
|
-
|
|
|
-// StdlibServer is the server API for Stdlib service.
|
|
|
-type StdlibServer interface {
|
|
|
- DocQuery(context.Context, *DocQueryRequest) (*DocQueryResponse, error)
|
|
|
- DocOn(context.Context, *DocChangeReq) (*DocChangeResp, error)
|
|
|
- DocOff(context.Context, *DocChangeReq) (*DocChangeResp, error)
|
|
|
- DocStatistics(context.Context, *DocStatisticsReq) (*DocChangeResp, error)
|
|
|
- DocGetCheck(context.Context, *DocGetCheckReq) (*DocGetCheckResp, error)
|
|
|
- DocGetContent(context.Context, *DocGetCheckReq) (*DocGetContentResp, error)
|
|
|
- DocActivity(context.Context, *DocActivityReq) (*DocActivityResp, error)
|
|
|
-}
|
|
|
-
|
|
|
-// UnimplementedStdlibServer can be embedded to have forward compatible implementations.
|
|
|
-type UnimplementedStdlibServer struct {
|
|
|
-}
|
|
|
-
|
|
|
-func (*UnimplementedStdlibServer) DocQuery(context.Context, *DocQueryRequest) (*DocQueryResponse, error) {
|
|
|
- return nil, status.Errorf(codes.Unimplemented, "method DocQuery not implemented")
|
|
|
-}
|
|
|
-func (*UnimplementedStdlibServer) DocOn(context.Context, *DocChangeReq) (*DocChangeResp, error) {
|
|
|
- return nil, status.Errorf(codes.Unimplemented, "method DocOn not implemented")
|
|
|
-}
|
|
|
-func (*UnimplementedStdlibServer) DocOff(context.Context, *DocChangeReq) (*DocChangeResp, error) {
|
|
|
- return nil, status.Errorf(codes.Unimplemented, "method DocOff not implemented")
|
|
|
-}
|
|
|
-func (*UnimplementedStdlibServer) DocStatistics(context.Context, *DocStatisticsReq) (*DocChangeResp, error) {
|
|
|
- return nil, status.Errorf(codes.Unimplemented, "method DocStatistics not implemented")
|
|
|
-}
|
|
|
-func (*UnimplementedStdlibServer) DocGetCheck(context.Context, *DocGetCheckReq) (*DocGetCheckResp, error) {
|
|
|
- return nil, status.Errorf(codes.Unimplemented, "method DocGetCheck not implemented")
|
|
|
-}
|
|
|
-func (*UnimplementedStdlibServer) DocGetContent(context.Context, *DocGetCheckReq) (*DocGetContentResp, error) {
|
|
|
- return nil, status.Errorf(codes.Unimplemented, "method DocGetContent not implemented")
|
|
|
-}
|
|
|
-func (*UnimplementedStdlibServer) DocActivity(context.Context, *DocActivityReq) (*DocActivityResp, error) {
|
|
|
- return nil, status.Errorf(codes.Unimplemented, "method DocActivity not implemented")
|
|
|
-}
|
|
|
-
|
|
|
-func RegisterStdlibServer(s *grpc.Server, srv StdlibServer) {
|
|
|
- s.RegisterService(&_Stdlib_serviceDesc, srv)
|
|
|
-}
|
|
|
-
|
|
|
-func _Stdlib_DocQuery_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
- in := new(DocQueryRequest)
|
|
|
- if err := dec(in); err != nil {
|
|
|
- return nil, err
|
|
|
- }
|
|
|
- if interceptor == nil {
|
|
|
- return srv.(StdlibServer).DocQuery(ctx, in)
|
|
|
- }
|
|
|
- info := &grpc.UnaryServerInfo{
|
|
|
- Server: srv,
|
|
|
- FullMethod: "/stdlib.Stdlib/DocQuery",
|
|
|
- }
|
|
|
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
- return srv.(StdlibServer).DocQuery(ctx, req.(*DocQueryRequest))
|
|
|
- }
|
|
|
- return interceptor(ctx, in, info, handler)
|
|
|
-}
|
|
|
-
|
|
|
-func _Stdlib_DocOn_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
- in := new(DocChangeReq)
|
|
|
- if err := dec(in); err != nil {
|
|
|
- return nil, err
|
|
|
- }
|
|
|
- if interceptor == nil {
|
|
|
- return srv.(StdlibServer).DocOn(ctx, in)
|
|
|
- }
|
|
|
- info := &grpc.UnaryServerInfo{
|
|
|
- Server: srv,
|
|
|
- FullMethod: "/stdlib.Stdlib/DocOn",
|
|
|
- }
|
|
|
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
- return srv.(StdlibServer).DocOn(ctx, req.(*DocChangeReq))
|
|
|
- }
|
|
|
- return interceptor(ctx, in, info, handler)
|
|
|
-}
|
|
|
-
|
|
|
-func _Stdlib_DocOff_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
- in := new(DocChangeReq)
|
|
|
- if err := dec(in); err != nil {
|
|
|
- return nil, err
|
|
|
- }
|
|
|
- if interceptor == nil {
|
|
|
- return srv.(StdlibServer).DocOff(ctx, in)
|
|
|
- }
|
|
|
- info := &grpc.UnaryServerInfo{
|
|
|
- Server: srv,
|
|
|
- FullMethod: "/stdlib.Stdlib/DocOff",
|
|
|
- }
|
|
|
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
- return srv.(StdlibServer).DocOff(ctx, req.(*DocChangeReq))
|
|
|
- }
|
|
|
- return interceptor(ctx, in, info, handler)
|
|
|
-}
|
|
|
-
|
|
|
-func _Stdlib_DocStatistics_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
- in := new(DocStatisticsReq)
|
|
|
- if err := dec(in); err != nil {
|
|
|
- return nil, err
|
|
|
- }
|
|
|
- if interceptor == nil {
|
|
|
- return srv.(StdlibServer).DocStatistics(ctx, in)
|
|
|
- }
|
|
|
- info := &grpc.UnaryServerInfo{
|
|
|
- Server: srv,
|
|
|
- FullMethod: "/stdlib.Stdlib/DocStatistics",
|
|
|
- }
|
|
|
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
- return srv.(StdlibServer).DocStatistics(ctx, req.(*DocStatisticsReq))
|
|
|
- }
|
|
|
- return interceptor(ctx, in, info, handler)
|
|
|
-}
|
|
|
-
|
|
|
-func _Stdlib_DocGetCheck_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
- in := new(DocGetCheckReq)
|
|
|
- if err := dec(in); err != nil {
|
|
|
- return nil, err
|
|
|
- }
|
|
|
- if interceptor == nil {
|
|
|
- return srv.(StdlibServer).DocGetCheck(ctx, in)
|
|
|
- }
|
|
|
- info := &grpc.UnaryServerInfo{
|
|
|
- Server: srv,
|
|
|
- FullMethod: "/stdlib.Stdlib/DocGetCheck",
|
|
|
- }
|
|
|
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
- return srv.(StdlibServer).DocGetCheck(ctx, req.(*DocGetCheckReq))
|
|
|
- }
|
|
|
- return interceptor(ctx, in, info, handler)
|
|
|
-}
|
|
|
-
|
|
|
-func _Stdlib_DocGetContent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
- in := new(DocGetCheckReq)
|
|
|
- if err := dec(in); err != nil {
|
|
|
- return nil, err
|
|
|
- }
|
|
|
- if interceptor == nil {
|
|
|
- return srv.(StdlibServer).DocGetContent(ctx, in)
|
|
|
- }
|
|
|
- info := &grpc.UnaryServerInfo{
|
|
|
- Server: srv,
|
|
|
- FullMethod: "/stdlib.Stdlib/DocGetContent",
|
|
|
- }
|
|
|
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
- return srv.(StdlibServer).DocGetContent(ctx, req.(*DocGetCheckReq))
|
|
|
- }
|
|
|
- return interceptor(ctx, in, info, handler)
|
|
|
-}
|
|
|
-
|
|
|
-func _Stdlib_DocActivity_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
- in := new(DocActivityReq)
|
|
|
- if err := dec(in); err != nil {
|
|
|
- return nil, err
|
|
|
- }
|
|
|
- if interceptor == nil {
|
|
|
- return srv.(StdlibServer).DocActivity(ctx, in)
|
|
|
- }
|
|
|
- info := &grpc.UnaryServerInfo{
|
|
|
- Server: srv,
|
|
|
- FullMethod: "/stdlib.Stdlib/DocActivity",
|
|
|
- }
|
|
|
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
- return srv.(StdlibServer).DocActivity(ctx, req.(*DocActivityReq))
|
|
|
- }
|
|
|
- return interceptor(ctx, in, info, handler)
|
|
|
-}
|
|
|
-
|
|
|
-var _Stdlib_serviceDesc = grpc.ServiceDesc{
|
|
|
- ServiceName: "stdlib.Stdlib",
|
|
|
- HandlerType: (*StdlibServer)(nil),
|
|
|
- Methods: []grpc.MethodDesc{
|
|
|
- {
|
|
|
- MethodName: "DocQuery",
|
|
|
- Handler: _Stdlib_DocQuery_Handler,
|
|
|
- },
|
|
|
- {
|
|
|
- MethodName: "DocOn",
|
|
|
- Handler: _Stdlib_DocOn_Handler,
|
|
|
- },
|
|
|
- {
|
|
|
- MethodName: "DocOff",
|
|
|
- Handler: _Stdlib_DocOff_Handler,
|
|
|
- },
|
|
|
- {
|
|
|
- MethodName: "DocStatistics",
|
|
|
- Handler: _Stdlib_DocStatistics_Handler,
|
|
|
- },
|
|
|
- {
|
|
|
- MethodName: "DocGetCheck",
|
|
|
- Handler: _Stdlib_DocGetCheck_Handler,
|
|
|
- },
|
|
|
- {
|
|
|
- MethodName: "DocGetContent",
|
|
|
- Handler: _Stdlib_DocGetContent_Handler,
|
|
|
- },
|
|
|
- {
|
|
|
- MethodName: "DocActivity",
|
|
|
- Handler: _Stdlib_DocActivity_Handler,
|
|
|
- },
|
|
|
- },
|
|
|
- Streams: []grpc.StreamDesc{},
|
|
|
- Metadata: "stdlib.proto",
|
|
|
-}
|