bs_tcp

package
v0.0.0-...-155bb80 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 23, 2020 License: MIT Imports: 4 Imported by: 0

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 CMDID_Tcp

type CMDID_Tcp int32
const (
	CMDID_Tcp_IDUnknow          CMDID_Tcp = 0
	CMDID_Tcp_IDTCPTransferMsg  CMDID_Tcp = 1
	CMDID_Tcp_IDTCPSessionCome  CMDID_Tcp = 2
	CMDID_Tcp_IDTCPSessionClose CMDID_Tcp = 3
	CMDID_Tcp_IDTCPSessionKick  CMDID_Tcp = 4
	CMDID_Tcp_IDLast            CMDID_Tcp = 100
)

func (CMDID_Tcp) EnumDescriptor

func (CMDID_Tcp) EnumDescriptor() ([]byte, []int)

func (CMDID_Tcp) String

func (x CMDID_Tcp) String() string

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL