feat: import services and standardize Go 1.26.5
This commit is contained in:
560
apps/base/cms/pb/category.pb.go
Normal file
560
apps/base/cms/pb/category.pb.go
Normal file
@@ -0,0 +1,560 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.36.11
|
||||
// protoc (unknown)
|
||||
// source: category.proto
|
||||
|
||||
package cms
|
||||
|
||||
import (
|
||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
)
|
||||
|
||||
const (
|
||||
// Verify that this generated code is sufficiently up-to-date.
|
||||
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
||||
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
||||
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
||||
)
|
||||
|
||||
// 分类列表
|
||||
type CategoryListReply struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
// 数据
|
||||
Data []*CategoryItem `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"`
|
||||
// 总数
|
||||
Count int64 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *CategoryListReply) Reset() {
|
||||
*x = CategoryListReply{}
|
||||
mi := &file_category_proto_msgTypes[0]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *CategoryListReply) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*CategoryListReply) ProtoMessage() {}
|
||||
|
||||
func (x *CategoryListReply) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_category_proto_msgTypes[0]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use CategoryListReply.ProtoReflect.Descriptor instead.
|
||||
func (*CategoryListReply) Descriptor() ([]byte, []int) {
|
||||
return file_category_proto_rawDescGZIP(), []int{0}
|
||||
}
|
||||
|
||||
func (x *CategoryListReply) GetData() []*CategoryItem {
|
||||
if x != nil {
|
||||
return x.Data
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *CategoryListReply) GetCount() int64 {
|
||||
if x != nil {
|
||||
return x.Count
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
// 添加分类响应
|
||||
type AddCategoryResponse struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Identity string `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"` // 添加分类响应唯一标识
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *AddCategoryResponse) Reset() {
|
||||
*x = AddCategoryResponse{}
|
||||
mi := &file_category_proto_msgTypes[1]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *AddCategoryResponse) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*AddCategoryResponse) ProtoMessage() {}
|
||||
|
||||
func (x *AddCategoryResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_category_proto_msgTypes[1]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use AddCategoryResponse.ProtoReflect.Descriptor instead.
|
||||
func (*AddCategoryResponse) Descriptor() ([]byte, []int) {
|
||||
return file_category_proto_rawDescGZIP(), []int{1}
|
||||
}
|
||||
|
||||
func (x *AddCategoryResponse) GetIdentity() string {
|
||||
if x != nil {
|
||||
return x.Identity
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
// 添加分类请求
|
||||
type AddCategoryRequest struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
SiteIdentity string `protobuf:"bytes,1,opt,name=site_identity,proto3" json:"site_identity,omitempty"`
|
||||
Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"` // 添加分类请求唯一码
|
||||
ParentId int64 `protobuf:"varint,3,opt,name=parent_id,proto3" json:"parent_id,omitempty"` // 为空表示顶级分类
|
||||
Title string `protobuf:"bytes,4,opt,name=title,proto3" json:"title,omitempty"` // 标题
|
||||
CoverPath string `protobuf:"bytes,5,opt,name=cover_path,proto3" json:"cover_path,omitempty"` // 封面图片
|
||||
Intro string `protobuf:"bytes,6,opt,name=intro,proto3" json:"intro,omitempty"` // 简介
|
||||
CreatedAt string `protobuf:"bytes,7,opt,name=created_at,proto3" json:"created_at,omitempty"` // 创建时间
|
||||
UpdatedAt string `protobuf:"bytes,8,opt,name=updated_at,proto3" json:"updated_at,omitempty"` // 更新时间
|
||||
Data []*CategoryItem `protobuf:"bytes,9,rep,name=data,proto3" json:"data,omitempty"` // 子集
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *AddCategoryRequest) Reset() {
|
||||
*x = AddCategoryRequest{}
|
||||
mi := &file_category_proto_msgTypes[2]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *AddCategoryRequest) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*AddCategoryRequest) ProtoMessage() {}
|
||||
|
||||
func (x *AddCategoryRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_category_proto_msgTypes[2]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use AddCategoryRequest.ProtoReflect.Descriptor instead.
|
||||
func (*AddCategoryRequest) Descriptor() ([]byte, []int) {
|
||||
return file_category_proto_rawDescGZIP(), []int{2}
|
||||
}
|
||||
|
||||
func (x *AddCategoryRequest) GetSiteIdentity() string {
|
||||
if x != nil {
|
||||
return x.SiteIdentity
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *AddCategoryRequest) GetIdentity() string {
|
||||
if x != nil {
|
||||
return x.Identity
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *AddCategoryRequest) GetParentId() int64 {
|
||||
if x != nil {
|
||||
return x.ParentId
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *AddCategoryRequest) GetTitle() string {
|
||||
if x != nil {
|
||||
return x.Title
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *AddCategoryRequest) GetCoverPath() string {
|
||||
if x != nil {
|
||||
return x.CoverPath
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *AddCategoryRequest) GetIntro() string {
|
||||
if x != nil {
|
||||
return x.Intro
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *AddCategoryRequest) GetCreatedAt() string {
|
||||
if x != nil {
|
||||
return x.CreatedAt
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *AddCategoryRequest) GetUpdatedAt() string {
|
||||
if x != nil {
|
||||
return x.UpdatedAt
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *AddCategoryRequest) GetData() []*CategoryItem {
|
||||
if x != nil {
|
||||
return x.Data
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// 修改分类请求
|
||||
type ModifyCategoryRequest struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
SiteIdentity string `protobuf:"bytes,1,opt,name=site_identity,proto3" json:"site_identity,omitempty"`
|
||||
Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"` // 修改分类请求唯一标识
|
||||
ParentId int64 `protobuf:"varint,3,opt,name=parent_id,proto3" json:"parent_id,omitempty"` // 为空表示顶级分类
|
||||
Title string `protobuf:"bytes,4,opt,name=title,proto3" json:"title,omitempty"` // 标题
|
||||
CoverPath string `protobuf:"bytes,5,opt,name=cover_path,proto3" json:"cover_path,omitempty"` // 封面图片
|
||||
Intro string `protobuf:"bytes,6,opt,name=intro,proto3" json:"intro,omitempty"` // 简介
|
||||
CreatedAt string `protobuf:"bytes,7,opt,name=created_at,proto3" json:"created_at,omitempty"` // 创建时间
|
||||
UpdatedAt string `protobuf:"bytes,8,opt,name=updated_at,proto3" json:"updated_at,omitempty"` // 更新时间
|
||||
Data []*CategoryItem `protobuf:"bytes,9,rep,name=data,proto3" json:"data,omitempty"` // 子集
|
||||
CategoryKey string `protobuf:"bytes,10,opt,name=category_key,proto3" json:"category_key,omitempty"` // 分类标识
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *ModifyCategoryRequest) Reset() {
|
||||
*x = ModifyCategoryRequest{}
|
||||
mi := &file_category_proto_msgTypes[3]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *ModifyCategoryRequest) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*ModifyCategoryRequest) ProtoMessage() {}
|
||||
|
||||
func (x *ModifyCategoryRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_category_proto_msgTypes[3]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use ModifyCategoryRequest.ProtoReflect.Descriptor instead.
|
||||
func (*ModifyCategoryRequest) Descriptor() ([]byte, []int) {
|
||||
return file_category_proto_rawDescGZIP(), []int{3}
|
||||
}
|
||||
|
||||
func (x *ModifyCategoryRequest) GetSiteIdentity() string {
|
||||
if x != nil {
|
||||
return x.SiteIdentity
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *ModifyCategoryRequest) GetIdentity() string {
|
||||
if x != nil {
|
||||
return x.Identity
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *ModifyCategoryRequest) GetParentId() int64 {
|
||||
if x != nil {
|
||||
return x.ParentId
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *ModifyCategoryRequest) GetTitle() string {
|
||||
if x != nil {
|
||||
return x.Title
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *ModifyCategoryRequest) GetCoverPath() string {
|
||||
if x != nil {
|
||||
return x.CoverPath
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *ModifyCategoryRequest) GetIntro() string {
|
||||
if x != nil {
|
||||
return x.Intro
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *ModifyCategoryRequest) GetCreatedAt() string {
|
||||
if x != nil {
|
||||
return x.CreatedAt
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *ModifyCategoryRequest) GetUpdatedAt() string {
|
||||
if x != nil {
|
||||
return x.UpdatedAt
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *ModifyCategoryRequest) GetData() []*CategoryItem {
|
||||
if x != nil {
|
||||
return x.Data
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *ModifyCategoryRequest) GetCategoryKey() string {
|
||||
if x != nil {
|
||||
return x.CategoryKey
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
// 删除分类请求
|
||||
type DeleteCategoryRequest struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Identity string `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"` // 删除分类请求唯一标识
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *DeleteCategoryRequest) Reset() {
|
||||
*x = DeleteCategoryRequest{}
|
||||
mi := &file_category_proto_msgTypes[4]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *DeleteCategoryRequest) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*DeleteCategoryRequest) ProtoMessage() {}
|
||||
|
||||
func (x *DeleteCategoryRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_category_proto_msgTypes[4]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use DeleteCategoryRequest.ProtoReflect.Descriptor instead.
|
||||
func (*DeleteCategoryRequest) Descriptor() ([]byte, []int) {
|
||||
return file_category_proto_rawDescGZIP(), []int{4}
|
||||
}
|
||||
|
||||
func (x *DeleteCategoryRequest) GetIdentity() string {
|
||||
if x != nil {
|
||||
return x.Identity
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
// 关键字分类
|
||||
type KeywordRequest struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Keyword string `protobuf:"bytes,1,opt,name=keyword,proto3" json:"keyword,omitempty"` // 关键字
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *KeywordRequest) Reset() {
|
||||
*x = KeywordRequest{}
|
||||
mi := &file_category_proto_msgTypes[5]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *KeywordRequest) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*KeywordRequest) ProtoMessage() {}
|
||||
|
||||
func (x *KeywordRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_category_proto_msgTypes[5]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use KeywordRequest.ProtoReflect.Descriptor instead.
|
||||
func (*KeywordRequest) Descriptor() ([]byte, []int) {
|
||||
return file_category_proto_rawDescGZIP(), []int{5}
|
||||
}
|
||||
|
||||
func (x *KeywordRequest) GetKeyword() string {
|
||||
if x != nil {
|
||||
return x.Keyword
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
var File_category_proto protoreflect.FileDescriptor
|
||||
|
||||
const file_category_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"\x17base/cms/category.proto\x12\x03cms\x1a\x10cms/blocks.proto\"P\n" +
|
||||
"\x11CategoryListReply\x12%\n" +
|
||||
"\x04data\x18\x01 \x03(\v2\x11.cms.CategoryItemR\x04data\x12\x14\n" +
|
||||
"\x05count\x18\x02 \x01(\x03R\x05count\"1\n" +
|
||||
"\x13AddCategoryResponse\x12\x1a\n" +
|
||||
"\bidentity\x18\x01 \x01(\tR\bidentity\"\xa7\x02\n" +
|
||||
"\x12AddCategoryRequest\x12$\n" +
|
||||
"\rsite_identity\x18\x01 \x01(\tR\rsite_identity\x12\x1a\n" +
|
||||
"\bidentity\x18\x02 \x01(\tR\bidentity\x12\x1c\n" +
|
||||
"\tparent_id\x18\x03 \x01(\x03R\tparent_id\x12\x14\n" +
|
||||
"\x05title\x18\x04 \x01(\tR\x05title\x12\x1e\n" +
|
||||
"\n" +
|
||||
"cover_path\x18\x05 \x01(\tR\n" +
|
||||
"cover_path\x12\x14\n" +
|
||||
"\x05intro\x18\x06 \x01(\tR\x05intro\x12\x1e\n" +
|
||||
"\n" +
|
||||
"created_at\x18\a \x01(\tR\n" +
|
||||
"created_at\x12\x1e\n" +
|
||||
"\n" +
|
||||
"updated_at\x18\b \x01(\tR\n" +
|
||||
"updated_at\x12%\n" +
|
||||
"\x04data\x18\t \x03(\v2\x11.cms.CategoryItemR\x04data\"\xce\x02\n" +
|
||||
"\x15ModifyCategoryRequest\x12$\n" +
|
||||
"\rsite_identity\x18\x01 \x01(\tR\rsite_identity\x12\x1a\n" +
|
||||
"\bidentity\x18\x02 \x01(\tR\bidentity\x12\x1c\n" +
|
||||
"\tparent_id\x18\x03 \x01(\x03R\tparent_id\x12\x14\n" +
|
||||
"\x05title\x18\x04 \x01(\tR\x05title\x12\x1e\n" +
|
||||
"\n" +
|
||||
"cover_path\x18\x05 \x01(\tR\n" +
|
||||
"cover_path\x12\x14\n" +
|
||||
"\x05intro\x18\x06 \x01(\tR\x05intro\x12\x1e\n" +
|
||||
"\n" +
|
||||
"created_at\x18\a \x01(\tR\n" +
|
||||
"created_at\x12\x1e\n" +
|
||||
"\n" +
|
||||
"updated_at\x18\b \x01(\tR\n" +
|
||||
"updated_at\x12%\n" +
|
||||
"\x04data\x18\t \x03(\v2\x11.cms.CategoryItemR\x04data\x12\"\n" +
|
||||
"\fcategory_key\x18\n" +
|
||||
" \x01(\tR\fcategory_key\"3\n" +
|
||||
"\x15DeleteCategoryRequest\x12\x1a\n" +
|
||||
"\bidentity\x18\x01 \x01(\tR\bidentity\"*\n" +
|
||||
"\x0eKeywordRequest\x12\x18\n" +
|
||||
"\akeyword\x18\x01 \x01(\tR\akeyword2\xe5\x01\n" +
|
||||
"\bCategory\x124\n" +
|
||||
"\x05Fetch\x12\x11.cms.IdentRequest\x1a\x16.cms.CategoryListReply\"\x00\x12/\n" +
|
||||
"\x06Create\x12\x11.cms.CategoryItem\x1a\x10.cms.StatusReply\"\x00\x128\n" +
|
||||
"\x06Modify\x12\x1a.cms.ModifyCategoryRequest\x1a\x10.cms.StatusReply\"\x00\x128\n" +
|
||||
"\x06Delete\x12\x1a.cms.DeleteCategoryRequest\x1a\x10.cms.StatusReply\"\x00B\aZ\x05.;cmsb\x06proto3"
|
||||
|
||||
var (
|
||||
file_category_proto_rawDescOnce sync.Once
|
||||
file_category_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_category_proto_rawDescGZIP() []byte {
|
||||
file_category_proto_rawDescOnce.Do(func() {
|
||||
file_category_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_category_proto_rawDesc), len(file_category_proto_rawDesc)))
|
||||
})
|
||||
return file_category_proto_rawDescData
|
||||
}
|
||||
|
||||
var file_category_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
|
||||
var file_category_proto_goTypes = []any{
|
||||
(*CategoryListReply)(nil), // 0: cms.CategoryListReply
|
||||
(*AddCategoryResponse)(nil), // 1: cms.AddCategoryResponse
|
||||
(*AddCategoryRequest)(nil), // 2: cms.AddCategoryRequest
|
||||
(*ModifyCategoryRequest)(nil), // 3: cms.ModifyCategoryRequest
|
||||
(*DeleteCategoryRequest)(nil), // 4: cms.DeleteCategoryRequest
|
||||
(*KeywordRequest)(nil), // 5: cms.KeywordRequest
|
||||
(*CategoryItem)(nil), // 6: cms.CategoryItem
|
||||
(*IdentRequest)(nil), // 7: cms.IdentRequest
|
||||
(*StatusReply)(nil), // 8: cms.StatusReply
|
||||
}
|
||||
var file_category_proto_depIdxs = []int32{
|
||||
6, // 0: cms.CategoryListReply.data:type_name -> cms.CategoryItem
|
||||
6, // 1: cms.AddCategoryRequest.data:type_name -> cms.CategoryItem
|
||||
6, // 2: cms.ModifyCategoryRequest.data:type_name -> cms.CategoryItem
|
||||
7, // 3: cms.Category.Fetch:input_type -> cms.IdentRequest
|
||||
6, // 4: cms.Category.Create:input_type -> cms.CategoryItem
|
||||
3, // 5: cms.Category.Modify:input_type -> cms.ModifyCategoryRequest
|
||||
4, // 6: cms.Category.Delete:input_type -> cms.DeleteCategoryRequest
|
||||
0, // 7: cms.Category.Fetch:output_type -> cms.CategoryListReply
|
||||
8, // 8: cms.Category.Create:output_type -> cms.StatusReply
|
||||
8, // 9: cms.Category.Modify:output_type -> cms.StatusReply
|
||||
8, // 10: cms.Category.Delete:output_type -> cms.StatusReply
|
||||
7, // [7:11] is the sub-list for method output_type
|
||||
3, // [3:7] 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
|
||||
}
|
||||
|
||||
func init() { file_category_proto_init() }
|
||||
func file_category_proto_init() {
|
||||
if File_category_proto != nil {
|
||||
return
|
||||
}
|
||||
file_blocks_proto_init()
|
||||
type x struct{}
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_category_proto_rawDesc), len(file_category_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 6,
|
||||
NumExtensions: 0,
|
||||
NumServices: 1,
|
||||
},
|
||||
GoTypes: file_category_proto_goTypes,
|
||||
DependencyIndexes: file_category_proto_depIdxs,
|
||||
MessageInfos: file_category_proto_msgTypes,
|
||||
}.Build()
|
||||
File_category_proto = out.File
|
||||
file_category_proto_goTypes = nil
|
||||
file_category_proto_depIdxs = nil
|
||||
}
|
||||
Reference in New Issue
Block a user