Documentation ¶
Index ¶
Constants ¶
View Source
const (
TxTrace transact.TransType = 1000
)
Variables ¶
View Source
var PacketID_name = map[int32]string{
1000: "PACKET_CS_PING",
1001: "PACKET_SC_PONG",
}
View Source
var PacketID_value = map[string]int32{
"PACKET_CS_PING": 1000,
"PACKET_SC_PONG": 1001,
}
Functions ¶
This section is empty.
Types ¶
type CSPacketPing ¶
type CSPacketPing struct { TimeStamb *int64 `protobuf:"varint,1,req" json:"TimeStamb,omitempty"` Message []byte `protobuf:"bytes,2,req" json:"Message,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*CSPacketPing) GetMessage ¶
func (m *CSPacketPing) GetMessage() []byte
func (*CSPacketPing) GetTimeStamb ¶
func (m *CSPacketPing) GetTimeStamb() int64
func (*CSPacketPing) ProtoMessage ¶
func (*CSPacketPing) ProtoMessage()
func (*CSPacketPing) Reset ¶
func (m *CSPacketPing) Reset()
func (*CSPacketPing) String ¶
func (m *CSPacketPing) String() string
type SCPacketPong ¶
type SCPacketPong struct { TimeStamb *int64 `protobuf:"varint,1,req" json:"TimeStamb,omitempty"` Message []byte `protobuf:"bytes,2,req" json:"Message,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*SCPacketPong) GetMessage ¶
func (m *SCPacketPong) GetMessage() []byte
func (*SCPacketPong) GetTimeStamb ¶
func (m *SCPacketPong) GetTimeStamb() int64
func (*SCPacketPong) ProtoMessage ¶
func (*SCPacketPong) ProtoMessage()
func (*SCPacketPong) Reset ¶
func (m *SCPacketPong) Reset()
func (*SCPacketPong) String ¶
func (m *SCPacketPong) String() string
Click to show internal directories.
Click to hide internal directories.