84 lines
2.4 KiB
Go
84 lines
2.4 KiB
Go
// Code generated by protoc-gen-go.
|
|
// source: im_msgid.proto
|
|
// DO NOT EDIT!
|
|
|
|
/*
|
|
Package im is a generated protocol buffer package.
|
|
|
|
It is generated from these files:
|
|
im_msgid.proto
|
|
im_proto.proto
|
|
|
|
It has these top-level messages:
|
|
MFTuple
|
|
IMSocketConnect
|
|
IMSocketDisconnect
|
|
*/
|
|
package im
|
|
|
|
import proto "github.com/golang/protobuf/proto"
|
|
import fmt "fmt"
|
|
import math "math"
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
var _ = proto.Marshal
|
|
var _ = fmt.Errorf
|
|
var _ = math.Inf
|
|
|
|
// This is a compile-time assertion to ensure that this generated file
|
|
// is compatible with the proto package it is being compiled against.
|
|
// A compilation error at this line likely means your copy of the
|
|
// proto package needs to be updated.
|
|
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
|
|
|
|
// 消息id定义
|
|
type IMMessageIdE int32
|
|
|
|
const (
|
|
IMMessageIdE__IMSocketConnect IMMessageIdE = 1
|
|
IMMessageIdE__IMSocketDisconnect IMMessageIdE = 2
|
|
)
|
|
|
|
var IMMessageIdE_name = map[int32]string{
|
|
1: "_IMSocketConnect",
|
|
2: "_IMSocketDisconnect",
|
|
}
|
|
var IMMessageIdE_value = map[string]int32{
|
|
"_IMSocketConnect": 1,
|
|
"_IMSocketDisconnect": 2,
|
|
}
|
|
|
|
func (x IMMessageIdE) Enum() *IMMessageIdE {
|
|
p := new(IMMessageIdE)
|
|
*p = x
|
|
return p
|
|
}
|
|
func (x IMMessageIdE) String() string {
|
|
return proto.EnumName(IMMessageIdE_name, int32(x))
|
|
}
|
|
func (x *IMMessageIdE) UnmarshalJSON(data []byte) error {
|
|
value, err := proto.UnmarshalJSONEnum(IMMessageIdE_value, data, "IMMessageIdE")
|
|
if err != nil {
|
|
return err
|
|
}
|
|
*x = IMMessageIdE(value)
|
|
return nil
|
|
}
|
|
func (IMMessageIdE) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
|
|
|
|
func init() {
|
|
proto.RegisterEnum("im.IMMessageIdE", IMMessageIdE_name, IMMessageIdE_value)
|
|
}
|
|
|
|
func init() { proto.RegisterFile("im_msgid.proto", fileDescriptor0) }
|
|
|
|
var fileDescriptor0 = []byte{
|
|
// 96 bytes of a gzipped FileDescriptorProto
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xe2, 0xcb, 0xcc, 0x8d, 0xcf,
|
|
0x2d, 0x4e, 0xcf, 0x4c, 0xd1, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x62, 0xca, 0xcc, 0xd5, 0xb2,
|
|
0xe3, 0xe2, 0xf5, 0xf4, 0xf5, 0x4d, 0x2d, 0x2e, 0x4e, 0x4c, 0x4f, 0xf5, 0x4c, 0x89, 0x4f, 0x15,
|
|
0x12, 0xe1, 0x12, 0x88, 0xf7, 0xf4, 0x0d, 0xce, 0x4f, 0xce, 0x4e, 0x2d, 0x71, 0xce, 0xcf, 0xcb,
|
|
0x4b, 0x4d, 0x2e, 0x11, 0x60, 0x14, 0x12, 0xe7, 0x12, 0x86, 0x8b, 0xba, 0x64, 0x16, 0x27, 0x43,
|
|
0x25, 0x98, 0x00, 0x01, 0x00, 0x00, 0xff, 0xff, 0x15, 0xd2, 0xef, 0x38, 0x54, 0x00, 0x00, 0x00,
|
|
}
|