Ai
13 Star 35 Fork 40

go-course/go11

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
service.pb.go 3.72 KB
一键复制 编辑 原始数据 按行查看 历史
Mr.Yu 提交于 2023-07-23 10:11 +08:00 . 补充grpc实现版本
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.31.0
// protoc v3.21.12
// source: vblog/apps/comment/pb/service.proto
package comment
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
)
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)
)
var File_vblog_apps_comment_pb_service_proto protoreflect.FileDescriptor
var file_vblog_apps_comment_pb_service_proto_rawDesc = []byte{
0x0a, 0x23, 0x76, 0x62, 0x6c, 0x6f, 0x67, 0x2f, 0x61, 0x70, 0x70, 0x73, 0x2f, 0x63, 0x6f, 0x6d,
0x6d, 0x65, 0x6e, 0x74, 0x2f, 0x70, 0x62, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e,
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x67, 0x6f, 0x31, 0x31, 0x2e, 0x76, 0x62, 0x6c, 0x6f,
0x67, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x1a, 0x21, 0x76, 0x62, 0x6c, 0x6f, 0x67,
0x2f, 0x61, 0x70, 0x70, 0x73, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x2f, 0x70, 0x62,
0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x32, 0x5d, 0x0a, 0x03,
0x52, 0x70, 0x63, 0x12, 0x56, 0x0a, 0x0d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6d,
0x6d, 0x65, 0x6e, 0x74, 0x12, 0x28, 0x2e, 0x67, 0x6f, 0x31, 0x31, 0x2e, 0x76, 0x62, 0x6c, 0x6f,
0x67, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65,
0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b,
0x2e, 0x67, 0x6f, 0x31, 0x31, 0x2e, 0x76, 0x62, 0x6c, 0x6f, 0x67, 0x2e, 0x63, 0x6f, 0x6d, 0x6d,
0x65, 0x6e, 0x74, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x42, 0x2d, 0x5a, 0x2b, 0x67,
0x69, 0x74, 0x65, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2d, 0x63, 0x6f, 0x75, 0x72,
0x73, 0x65, 0x2f, 0x67, 0x6f, 0x31, 0x31, 0x2f, 0x76, 0x62, 0x6c, 0x6f, 0x67, 0x2f, 0x61, 0x70,
0x70, 0x73, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
0x6f, 0x33,
}
var file_vblog_apps_comment_pb_service_proto_goTypes = []interface{}{
(*CreateCommentRequest)(nil), // 0: go11.vblog.comment.CreateCommentRequest
(*Comment)(nil), // 1: go11.vblog.comment.Comment
}
var file_vblog_apps_comment_pb_service_proto_depIdxs = []int32{
0, // 0: go11.vblog.comment.Rpc.CreateComment:input_type -> go11.vblog.comment.CreateCommentRequest
1, // 1: go11.vblog.comment.Rpc.CreateComment:output_type -> go11.vblog.comment.Comment
1, // [1:2] is the sub-list for method output_type
0, // [0:1] is the sub-list for method input_type
0, // [0:0] is the sub-list for extension type_name
0, // [0:0] is the sub-list for extension extendee
0, // [0:0] is the sub-list for field type_name
}
func init() { file_vblog_apps_comment_pb_service_proto_init() }
func file_vblog_apps_comment_pb_service_proto_init() {
if File_vblog_apps_comment_pb_service_proto != nil {
return
}
file_vblog_apps_comment_pb_model_proto_init()
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_vblog_apps_comment_pb_service_proto_rawDesc,
NumEnums: 0,
NumMessages: 0,
NumExtensions: 0,
NumServices: 1,
},
GoTypes: file_vblog_apps_comment_pb_service_proto_goTypes,
DependencyIndexes: file_vblog_apps_comment_pb_service_proto_depIdxs,
}.Build()
File_vblog_apps_comment_pb_service_proto = out.File
file_vblog_apps_comment_pb_service_proto_rawDesc = nil
file_vblog_apps_comment_pb_service_proto_goTypes = nil
file_vblog_apps_comment_pb_service_proto_depIdxs = nil
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/go-course/go11.git
git@gitee.com:go-course/go11.git
go-course
go11
go11
f4276bbab689

搜索帮助