对齐包名
This commit is contained in:
46
cmd.pb.go
46
cmd.pb.go
@@ -4,7 +4,7 @@
|
|||||||
// protoc v4.24.4
|
// protoc v4.24.4
|
||||||
// source: cmd.proto
|
// source: cmd.proto
|
||||||
|
|
||||||
package saascmd
|
package saasapi
|
||||||
|
|
||||||
import (
|
import (
|
||||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||||
@@ -71,7 +71,7 @@ func (UserIdType) EnumDescriptor() ([]byte, []int) {
|
|||||||
// Cmds 批量命令
|
// Cmds 批量命令
|
||||||
type Cmds struct {
|
type Cmds struct {
|
||||||
state protoimpl.MessageState `protogen:"open.v1"`
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
UseridType UserIdType `protobuf:"varint,1,opt,name=userid_type,json=useridType,proto3,enum=saascmd.UserIdType" json:"userid_type,omitempty"` // 用户ID类型
|
UseridType UserIdType `protobuf:"varint,1,opt,name=userid_type,json=useridType,proto3,enum=saasapi.UserIdType" json:"userid_type,omitempty"` // 用户ID类型
|
||||||
Appid string `protobuf:"bytes,2,opt,name=appid,proto3" json:"appid,omitempty"` // 小程序/小游戏/公众号/视频号的appid
|
Appid string `protobuf:"bytes,2,opt,name=appid,proto3" json:"appid,omitempty"` // 小程序/小游戏/公众号/视频号的appid
|
||||||
Cmd []*Cmd `protobuf:"bytes,3,rep,name=cmd,proto3" json:"cmd,omitempty"` // 批量写入命令
|
Cmd []*Cmd `protobuf:"bytes,3,rep,name=cmd,proto3" json:"cmd,omitempty"` // 批量写入命令
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
@@ -430,18 +430,18 @@ var File_cmd_proto protoreflect.FileDescriptor
|
|||||||
|
|
||||||
const file_cmd_proto_rawDesc = "" +
|
const file_cmd_proto_rawDesc = "" +
|
||||||
"\n" +
|
"\n" +
|
||||||
"\tcmd.proto\x12\asaascmd\"r\n" +
|
"\tcmd.proto\x12\asaasapi\"r\n" +
|
||||||
"\x04Cmds\x124\n" +
|
"\x04Cmds\x124\n" +
|
||||||
"\vuserid_type\x18\x01 \x01(\x0e2\x13.saascmd.UserIdTypeR\n" +
|
"\vuserid_type\x18\x01 \x01(\x0e2\x13.saasapi.UserIdTypeR\n" +
|
||||||
"useridType\x12\x14\n" +
|
"useridType\x12\x14\n" +
|
||||||
"\x05appid\x18\x02 \x01(\tR\x05appid\x12\x1e\n" +
|
"\x05appid\x18\x02 \x01(\tR\x05appid\x12\x1e\n" +
|
||||||
"\x03cmd\x18\x03 \x03(\v2\f.saascmd.CmdR\x03cmd\"\xe5\x01\n" +
|
"\x03cmd\x18\x03 \x03(\v2\f.saasapi.CmdR\x03cmd\"\xe5\x01\n" +
|
||||||
"\x03Cmd\x12\x16\n" +
|
"\x03Cmd\x12\x16\n" +
|
||||||
"\x06userid\x18\x01 \x01(\tR\x06userid\x124\n" +
|
"\x06userid\x18\x01 \x01(\tR\x06userid\x124\n" +
|
||||||
"\vwrite_bytes\x18\x02 \x01(\v2\x13.saascmd.WriteBytesR\n" +
|
"\vwrite_bytes\x18\x02 \x01(\v2\x13.saasapi.WriteBytesR\n" +
|
||||||
"writeBytes\x12:\n" +
|
"writeBytes\x12:\n" +
|
||||||
"\rwrite_uint32s\x18\x03 \x01(\v2\x15.saascmd.WriteUint32sR\fwriteUint32s\x12T\n" +
|
"\rwrite_uint32s\x18\x03 \x01(\v2\x15.saasapi.WriteUint32sR\fwriteUint32s\x12T\n" +
|
||||||
"\x17write_flags_with_expire\x18\x04 \x01(\v2\x1d.saascmd.WriteFlagsWithExpireR\x14writeFlagsWithExpire\"u\n" +
|
"\x17write_flags_with_expire\x18\x04 \x01(\v2\x1d.saasapi.WriteFlagsWithExpireR\x14writeFlagsWithExpire\"u\n" +
|
||||||
"\n" +
|
"\n" +
|
||||||
"WriteBytes\x12\x1f\n" +
|
"WriteBytes\x12\x1f\n" +
|
||||||
"\vwrite_bytes\x18\x01 \x01(\fR\n" +
|
"\vwrite_bytes\x18\x01 \x01(\fR\n" +
|
||||||
@@ -453,7 +453,7 @@ const file_cmd_proto_rawDesc = "" +
|
|||||||
"\rwrite_index_1\x18\x02 \x01(\x04R\vwriteIndex1\x12\"\n" +
|
"\rwrite_index_1\x18\x02 \x01(\x04R\vwriteIndex1\x12\"\n" +
|
||||||
"\rwrite_index_2\x18\x03 \x01(\x04R\vwriteIndex2\"\x8a\x01\n" +
|
"\rwrite_index_2\x18\x03 \x01(\x04R\vwriteIndex2\"\x8a\x01\n" +
|
||||||
"\x14WriteFlagsWithExpire\x12N\n" +
|
"\x14WriteFlagsWithExpire\x12N\n" +
|
||||||
"\x17write_flags_with_expire\x18\x01 \x03(\v2\x17.saascmd.FlagWithExpireR\x14writeFlagsWithExpire\x12\"\n" +
|
"\x17write_flags_with_expire\x18\x01 \x03(\v2\x17.saasapi.FlagWithExpireR\x14writeFlagsWithExpire\x12\"\n" +
|
||||||
"\rwrite_index_1\x18\x02 \x01(\x04R\vwriteIndex1\"<\n" +
|
"\rwrite_index_1\x18\x02 \x01(\x04R\vwriteIndex1\"<\n" +
|
||||||
"\x0eFlagWithExpire\x12\x12\n" +
|
"\x0eFlagWithExpire\x12\x12\n" +
|
||||||
"\x04flag\x18\x01 \x01(\bR\x04flag\x12\x16\n" +
|
"\x04flag\x18\x01 \x01(\bR\x04flag\x12\x16\n" +
|
||||||
@@ -462,7 +462,7 @@ const file_cmd_proto_rawDesc = "" +
|
|||||||
"UserIdType\x12\f\n" +
|
"UserIdType\x12\f\n" +
|
||||||
"\bDeviceId\x10\x00\x12\n" +
|
"\bDeviceId\x10\x00\x12\n" +
|
||||||
"\n" +
|
"\n" +
|
||||||
"\x06OpenId\x10\x01B\vZ\t./saascmdb\x06proto3"
|
"\x06OpenId\x10\x01B\vZ\t./saasapib\x06proto3"
|
||||||
|
|
||||||
var (
|
var (
|
||||||
file_cmd_proto_rawDescOnce sync.Once
|
file_cmd_proto_rawDescOnce sync.Once
|
||||||
@@ -479,21 +479,21 @@ func file_cmd_proto_rawDescGZIP() []byte {
|
|||||||
var file_cmd_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
|
var file_cmd_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
|
||||||
var file_cmd_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
|
var file_cmd_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
|
||||||
var file_cmd_proto_goTypes = []any{
|
var file_cmd_proto_goTypes = []any{
|
||||||
(UserIdType)(0), // 0: saascmd.UserIdType
|
(UserIdType)(0), // 0: saasapi.UserIdType
|
||||||
(*Cmds)(nil), // 1: saascmd.Cmds
|
(*Cmds)(nil), // 1: saasapi.Cmds
|
||||||
(*Cmd)(nil), // 2: saascmd.Cmd
|
(*Cmd)(nil), // 2: saasapi.Cmd
|
||||||
(*WriteBytes)(nil), // 3: saascmd.WriteBytes
|
(*WriteBytes)(nil), // 3: saasapi.WriteBytes
|
||||||
(*WriteUint32S)(nil), // 4: saascmd.WriteUint32s
|
(*WriteUint32S)(nil), // 4: saasapi.WriteUint32s
|
||||||
(*WriteFlagsWithExpire)(nil), // 5: saascmd.WriteFlagsWithExpire
|
(*WriteFlagsWithExpire)(nil), // 5: saasapi.WriteFlagsWithExpire
|
||||||
(*FlagWithExpire)(nil), // 6: saascmd.FlagWithExpire
|
(*FlagWithExpire)(nil), // 6: saasapi.FlagWithExpire
|
||||||
}
|
}
|
||||||
var file_cmd_proto_depIdxs = []int32{
|
var file_cmd_proto_depIdxs = []int32{
|
||||||
0, // 0: saascmd.Cmds.userid_type:type_name -> saascmd.UserIdType
|
0, // 0: saasapi.Cmds.userid_type:type_name -> saasapi.UserIdType
|
||||||
2, // 1: saascmd.Cmds.cmd:type_name -> saascmd.Cmd
|
2, // 1: saasapi.Cmds.cmd:type_name -> saasapi.Cmd
|
||||||
3, // 2: saascmd.Cmd.write_bytes:type_name -> saascmd.WriteBytes
|
3, // 2: saasapi.Cmd.write_bytes:type_name -> saasapi.WriteBytes
|
||||||
4, // 3: saascmd.Cmd.write_uint32s:type_name -> saascmd.WriteUint32s
|
4, // 3: saasapi.Cmd.write_uint32s:type_name -> saasapi.WriteUint32s
|
||||||
5, // 4: saascmd.Cmd.write_flags_with_expire:type_name -> saascmd.WriteFlagsWithExpire
|
5, // 4: saasapi.Cmd.write_flags_with_expire:type_name -> saasapi.WriteFlagsWithExpire
|
||||||
6, // 5: saascmd.WriteFlagsWithExpire.write_flags_with_expire:type_name -> saascmd.FlagWithExpire
|
6, // 5: saasapi.WriteFlagsWithExpire.write_flags_with_expire:type_name -> saasapi.FlagWithExpire
|
||||||
6, // [6:6] is the sub-list for method output_type
|
6, // [6:6] is the sub-list for method output_type
|
||||||
6, // [6:6] is the sub-list for method input_type
|
6, // [6:6] is the sub-list for method input_type
|
||||||
6, // [6:6] is the sub-list for extension type_name
|
6, // [6:6] is the sub-list for extension type_name
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ syntax = "proto3";
|
|||||||
|
|
||||||
package saasapi;
|
package saasapi;
|
||||||
|
|
||||||
option go_package = "./saascmd";
|
option go_package = "./saasapi";
|
||||||
|
|
||||||
// Cmds 批量命令
|
// Cmds 批量命令
|
||||||
message Cmds {
|
message Cmds {
|
||||||
|
|||||||
Reference in New Issue
Block a user