// Code generated by protoc-gen-go. DO NOT EDIT. // source: base.proto package protocol import ( fmt "fmt" proto "github.com/golang/protobuf/proto" 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 type LoginReq struct { Timestamp *int64 `protobuf:"varint,1,opt,name=timestamp" json:"timestamp,omitempty"` Username *string `protobuf:"bytes,2,opt,name=username" json:"username,omitempty"` Passwd *string `protobuf:"bytes,3,opt,name=passwd" json:"passwd,omitempty"` Channel *string `protobuf:"bytes,4,opt,name=channel" json:"channel,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *LoginReq) Reset() { *m = LoginReq{} } func (m *LoginReq) String() string { return proto.CompactTextString(m) } func (*LoginReq) ProtoMessage() {} func (*LoginReq) Descriptor() ([]byte, []int) { return fileDescriptor_db1b6b0986796150, []int{0} } func (m *LoginReq) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_LoginReq.Unmarshal(m, b) } func (m *LoginReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_LoginReq.Marshal(b, m, deterministic) } func (m *LoginReq) XXX_Merge(src proto.Message) { xxx_messageInfo_LoginReq.Merge(m, src) } func (m *LoginReq) XXX_Size() int { return xxx_messageInfo_LoginReq.Size(m) } func (m *LoginReq) XXX_DiscardUnknown() { xxx_messageInfo_LoginReq.DiscardUnknown(m) } var xxx_messageInfo_LoginReq proto.InternalMessageInfo func (m *LoginReq) GetTimestamp() int64 { if m != nil && m.Timestamp != nil { return *m.Timestamp } return 0 } func (m *LoginReq) GetUsername() string { if m != nil && m.Username != nil { return *m.Username } return "" } func (m *LoginReq) GetPasswd() string { if m != nil && m.Passwd != nil { return *m.Passwd } return "" } func (m *LoginReq) GetChannel() string { if m != nil && m.Channel != nil { return *m.Channel } return "" } type OfflineReq struct { Timestamp *int64 `protobuf:"varint,1,opt,name=timestamp" json:"timestamp,omitempty"` Username *string `protobuf:"bytes,2,opt,name=username" json:"username,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *OfflineReq) Reset() { *m = OfflineReq{} } func (m *OfflineReq) String() string { return proto.CompactTextString(m) } func (*OfflineReq) ProtoMessage() {} func (*OfflineReq) Descriptor() ([]byte, []int) { return fileDescriptor_db1b6b0986796150, []int{1} } func (m *OfflineReq) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_OfflineReq.Unmarshal(m, b) } func (m *OfflineReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_OfflineReq.Marshal(b, m, deterministic) } func (m *OfflineReq) XXX_Merge(src proto.Message) { xxx_messageInfo_OfflineReq.Merge(m, src) } func (m *OfflineReq) XXX_Size() int { return xxx_messageInfo_OfflineReq.Size(m) } func (m *OfflineReq) XXX_DiscardUnknown() { xxx_messageInfo_OfflineReq.DiscardUnknown(m) } var xxx_messageInfo_OfflineReq proto.InternalMessageInfo func (m *OfflineReq) GetTimestamp() int64 { if m != nil && m.Timestamp != nil { return *m.Timestamp } return 0 } func (m *OfflineReq) GetUsername() string { if m != nil && m.Username != nil { return *m.Username } return "" } type LoginResp struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *LoginResp) Reset() { *m = LoginResp{} } func (m *LoginResp) String() string { return proto.CompactTextString(m) } func (*LoginResp) ProtoMessage() {} func (*LoginResp) Descriptor() ([]byte, []int) { return fileDescriptor_db1b6b0986796150, []int{2} } func (m *LoginResp) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_LoginResp.Unmarshal(m, b) } func (m *LoginResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_LoginResp.Marshal(b, m, deterministic) } func (m *LoginResp) XXX_Merge(src proto.Message) { xxx_messageInfo_LoginResp.Merge(m, src) } func (m *LoginResp) XXX_Size() int { return xxx_messageInfo_LoginResp.Size(m) } func (m *LoginResp) XXX_DiscardUnknown() { xxx_messageInfo_LoginResp.DiscardUnknown(m) } var xxx_messageInfo_LoginResp proto.InternalMessageInfo type OfflineResp struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *OfflineResp) Reset() { *m = OfflineResp{} } func (m *OfflineResp) String() string { return proto.CompactTextString(m) } func (*OfflineResp) ProtoMessage() {} func (*OfflineResp) Descriptor() ([]byte, []int) { return fileDescriptor_db1b6b0986796150, []int{3} } func (m *OfflineResp) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_OfflineResp.Unmarshal(m, b) } func (m *OfflineResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_OfflineResp.Marshal(b, m, deterministic) } func (m *OfflineResp) XXX_Merge(src proto.Message) { xxx_messageInfo_OfflineResp.Merge(m, src) } func (m *OfflineResp) XXX_Size() int { return xxx_messageInfo_OfflineResp.Size(m) } func (m *OfflineResp) XXX_DiscardUnknown() { xxx_messageInfo_OfflineResp.DiscardUnknown(m) } var xxx_messageInfo_OfflineResp proto.InternalMessageInfo func init() { proto.RegisterType((*LoginReq)(nil), "protocol.LoginReq") proto.RegisterType((*OfflineReq)(nil), "protocol.OfflineReq") proto.RegisterType((*LoginResp)(nil), "protocol.LoginResp") proto.RegisterType((*OfflineResp)(nil), "protocol.OfflineResp") } func init() { proto.RegisterFile("base.proto", fileDescriptor_db1b6b0986796150) } var fileDescriptor_db1b6b0986796150 = []byte{ // 159 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xe2, 0x4a, 0x4a, 0x2c, 0x4e, 0xd5, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x00, 0x53, 0xc9, 0xf9, 0x39, 0x4a, 0x65, 0x5c, 0x1c, 0x3e, 0xf9, 0xe9, 0x99, 0x79, 0x41, 0xa9, 0x85, 0x42, 0x32, 0x5c, 0x9c, 0x25, 0x99, 0xb9, 0xa9, 0xc5, 0x25, 0x89, 0xb9, 0x05, 0x12, 0x8c, 0x0a, 0x8c, 0x1a, 0xcc, 0x41, 0x08, 0x01, 0x21, 0x29, 0x2e, 0x8e, 0xd2, 0xe2, 0xd4, 0xa2, 0xbc, 0xc4, 0xdc, 0x54, 0x09, 0x26, 0x05, 0x46, 0x0d, 0xce, 0x20, 0x38, 0x5f, 0x48, 0x8c, 0x8b, 0xad, 0x20, 0xb1, 0xb8, 0xb8, 0x3c, 0x45, 0x82, 0x19, 0x2c, 0x03, 0xe5, 0x09, 0x49, 0x70, 0xb1, 0x27, 0x67, 0x24, 0xe6, 0xe5, 0xa5, 0xe6, 0x48, 0xb0, 0x80, 0x25, 0x60, 0x5c, 0x25, 0x37, 0x2e, 0x2e, 0xff, 0xb4, 0xb4, 0x9c, 0xcc, 0xbc, 0x54, 0x8a, 0x6c, 0x56, 0xe2, 0xe6, 0xe2, 0x84, 0xba, 0xbf, 0xb8, 0x40, 0x89, 0x97, 0x8b, 0x1b, 0x6e, 0x68, 0x71, 0x01, 0x20, 0x00, 0x00, 0xff, 0xff, 0x98, 0x8f, 0x49, 0x5a, 0xf2, 0x00, 0x00, 0x00, }