Documentation ¶
Overview ¶
Package bs_tcp is a generated protocol buffer package.
It is generated from these files:
github.com/3zheng/railgun/protodefine/tcpnet/tcp.proto
It has these top-level messages:
TCPTransferMsg TCPSessionCome TCPSessionClose TCPSessionKick
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CMDID_Tcp_name = map[int32]string{
0: "IDUnknow",
1: "IDTCPTransferMsg",
2: "IDTCPSessionCome",
3: "IDTCPSessionClose",
4: "IDTCPSessionKick",
100: "IDLast",
}
View Source
var CMDID_Tcp_value = map[string]int32{
"IDUnknow": 0,
"IDTCPTransferMsg": 1,
"IDTCPSessionCome": 2,
"IDTCPSessionClose": 3,
"IDTCPSessionKick": 4,
"IDLast": 100,
}
Functions ¶
This section is empty.
Types ¶
type TCPSessionClose ¶
type TCPSessionClose struct {
Base *bs_types.BaseInfo `protobuf:"bytes,1,opt,name=base" json:"base,omitempty"`
}
func (*TCPSessionClose) Descriptor ¶
func (*TCPSessionClose) Descriptor() ([]byte, []int)
func (*TCPSessionClose) GetBase ¶
func (m *TCPSessionClose) GetBase() *bs_types.BaseInfo
func (*TCPSessionClose) ProtoMessage ¶
func (*TCPSessionClose) ProtoMessage()
func (*TCPSessionClose) Reset ¶
func (m *TCPSessionClose) Reset()
func (*TCPSessionClose) String ¶
func (m *TCPSessionClose) String() string
type TCPSessionCome ¶
type TCPSessionCome struct {
Base *bs_types.BaseInfo `protobuf:"bytes,1,opt,name=base" json:"base,omitempty"`
}
func (*TCPSessionCome) Descriptor ¶
func (*TCPSessionCome) Descriptor() ([]byte, []int)
func (*TCPSessionCome) GetBase ¶
func (m *TCPSessionCome) GetBase() *bs_types.BaseInfo
func (*TCPSessionCome) ProtoMessage ¶
func (*TCPSessionCome) ProtoMessage()
func (*TCPSessionCome) Reset ¶
func (m *TCPSessionCome) Reset()
func (*TCPSessionCome) String ¶
func (m *TCPSessionCome) String() string
type TCPSessionKick ¶
type TCPSessionKick struct {
Base *bs_types.BaseInfo `protobuf:"bytes,1,opt,name=base" json:"base,omitempty"`
}
func (*TCPSessionKick) Descriptor ¶
func (*TCPSessionKick) Descriptor() ([]byte, []int)
func (*TCPSessionKick) GetBase ¶
func (m *TCPSessionKick) GetBase() *bs_types.BaseInfo
func (*TCPSessionKick) ProtoMessage ¶
func (*TCPSessionKick) ProtoMessage()
func (*TCPSessionKick) Reset ¶
func (m *TCPSessionKick) Reset()
func (*TCPSessionKick) String ¶
func (m *TCPSessionKick) String() string
type TCPTransferMsg ¶
type TCPTransferMsg struct { Base *bs_types.BaseInfo `protobuf:"bytes,1,opt,name=base" json:"base,omitempty"` DataKindId uint32 `protobuf:"varint,2,opt,name=data_kind_id,json=dataKindId" json:"data_kind_id,omitempty"` DataSubId uint32 `protobuf:"varint,3,opt,name=data_sub_id,json=dataSubId" json:"data_sub_id,omitempty"` Data []byte `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"` }
func (*TCPTransferMsg) Descriptor ¶
func (*TCPTransferMsg) Descriptor() ([]byte, []int)
func (*TCPTransferMsg) GetBase ¶
func (m *TCPTransferMsg) GetBase() *bs_types.BaseInfo
func (*TCPTransferMsg) ProtoMessage ¶
func (*TCPTransferMsg) ProtoMessage()
func (*TCPTransferMsg) Reset ¶
func (m *TCPTransferMsg) Reset()
func (*TCPTransferMsg) String ¶
func (m *TCPTransferMsg) String() string
Click to show internal directories.
Click to hide internal directories.