|
@@ -20,7 +20,7 @@ const (
|
|
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
|
)
|
|
|
|
|
|
-//通信包装
|
|
|
+// 通信包装
|
|
|
type TransPack struct {
|
|
|
state protoimpl.MessageState
|
|
|
sizeCache protoimpl.SizeCache
|
|
@@ -84,7 +84,7 @@ func (x *TransPack) GetError() string {
|
|
|
return ""
|
|
|
}
|
|
|
|
|
|
-//连接检测
|
|
|
+// 连接检测
|
|
|
type PingPang struct {
|
|
|
state protoimpl.MessageState
|
|
|
sizeCache protoimpl.SizeCache
|
|
@@ -162,7 +162,7 @@ func file_base_proto_rawDescGZIP() []byte {
|
|
|
}
|
|
|
|
|
|
var file_base_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
|
|
|
-var file_base_proto_goTypes = []interface{}{
|
|
|
+var file_base_proto_goTypes = []any{
|
|
|
(*TransPack)(nil), // 0: protocol.TransPack
|
|
|
(*PingPang)(nil), // 1: protocol.PingPang
|
|
|
}
|
|
@@ -180,7 +180,7 @@ func file_base_proto_init() {
|
|
|
return
|
|
|
}
|
|
|
if !protoimpl.UnsafeEnabled {
|
|
|
- file_base_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
|
+ file_base_proto_msgTypes[0].Exporter = func(v any, i int) any {
|
|
|
switch v := v.(*TransPack); i {
|
|
|
case 0:
|
|
|
return &v.state
|
|
@@ -192,7 +192,7 @@ func file_base_proto_init() {
|
|
|
return nil
|
|
|
}
|
|
|
}
|
|
|
- file_base_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
|
+ file_base_proto_msgTypes[1].Exporter = func(v any, i int) any {
|
|
|
switch v := v.(*PingPang); i {
|
|
|
case 0:
|
|
|
return &v.state
|