Documentation ¶
Overview ¶
Package proto is a generated protocol buffer package.
It is generated from these files:
logic.proto
It has these top-level messages:
PushsMsg PingArg PingReply ConnArg ConnReply DisconnArg DisconnReply
Index ¶
- type ConnArg
- type ConnReply
- type DisconnArg
- func (m *DisconnArg) Marshal() (data []byte, err error)
- func (m *DisconnArg) MarshalTo(data []byte) (n int, err error)
- func (*DisconnArg) ProtoMessage()
- func (m *DisconnArg) Reset()
- func (m *DisconnArg) Size() (n int)
- func (m *DisconnArg) String() string
- func (m *DisconnArg) Unmarshal(data []byte) error
- type DisconnReply
- func (m *DisconnReply) Marshal() (data []byte, err error)
- func (m *DisconnReply) MarshalTo(data []byte) (n int, err error)
- func (*DisconnReply) ProtoMessage()
- func (m *DisconnReply) Reset()
- func (m *DisconnReply) Size() (n int)
- func (m *DisconnReply) String() string
- func (m *DisconnReply) Unmarshal(data []byte) error
- type PingArg
- type PingReply
- type PushsMsg
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConnArg ¶
type ConnArg struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` Server int32 `protobuf:"varint,2,opt,name=server,proto3" json:"server,omitempty"` }
func (*ConnArg) ProtoMessage ¶
func (*ConnArg) ProtoMessage()
type ConnReply ¶
type ConnReply struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` RoomId int32 `protobuf:"varint,2,opt,name=roomId,proto3" json:"roomId,omitempty"` }
func (*ConnReply) ProtoMessage ¶
func (*ConnReply) ProtoMessage()
type DisconnArg ¶
type DisconnArg struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` RoomId int32 `protobuf:"varint,2,opt,name=roomId,proto3" json:"roomId,omitempty"` }
func (*DisconnArg) Marshal ¶
func (m *DisconnArg) Marshal() (data []byte, err error)
func (*DisconnArg) ProtoMessage ¶
func (*DisconnArg) ProtoMessage()
func (*DisconnArg) Reset ¶
func (m *DisconnArg) Reset()
func (*DisconnArg) Size ¶
func (m *DisconnArg) Size() (n int)
func (*DisconnArg) String ¶
func (m *DisconnArg) String() string
func (*DisconnArg) Unmarshal ¶
func (m *DisconnArg) Unmarshal(data []byte) error
type DisconnReply ¶
type DisconnReply struct {
Has bool `protobuf:"varint,1,opt,name=has,proto3" json:"has,omitempty"`
}
func (*DisconnReply) Marshal ¶
func (m *DisconnReply) Marshal() (data []byte, err error)
func (*DisconnReply) ProtoMessage ¶
func (*DisconnReply) ProtoMessage()
func (*DisconnReply) Reset ¶
func (m *DisconnReply) Reset()
func (*DisconnReply) Size ¶
func (m *DisconnReply) Size() (n int)
func (*DisconnReply) String ¶
func (m *DisconnReply) String() string
func (*DisconnReply) Unmarshal ¶
func (m *DisconnReply) Unmarshal(data []byte) error
type PingArg ¶
type PingArg struct { }
func (*PingArg) ProtoMessage ¶
func (*PingArg) ProtoMessage()
type PingReply ¶
type PingReply struct { }
func (*PingReply) ProtoMessage ¶
func (*PingReply) ProtoMessage()
type PushsMsg ¶
type PushsMsg struct { Server int32 `protobuf:"varint,1,opt,name=server,proto3" json:"server,omitempty"` SubKeys []string `protobuf:"bytes,2,rep,name=subKeys" json:"subKeys,omitempty"` Msg []byte `protobuf:"bytes,3,opt,name=msg,proto3" json:"msg,omitempty"` }
func (*PushsMsg) ProtoMessage ¶
func (*PushsMsg) ProtoMessage()
Click to show internal directories.
Click to hide internal directories.