Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UnmarshalRequest ¶
UnmarshalRequest 解码req数据包
Types ¶
type NetworkProtocolResponse ¶
type NetworkProtocolResponse struct {
Packet string `json:"packet"` // 包数据
Protocol string `json:"protocol"` // 协议名称
}
func MarshalResponse ¶
func MarshalResponse(m mx.Message) (*NetworkProtocolResponse, error)
MarshalResponse 编码rsp数据包
Click to show internal directories.
Click to hide internal directories.