Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewExCmd1 ¶ added in v1.1.0
func NewExCmd1() (*ExCmd1Request, *ExCmd1Response, error)
Types ¶
type ExCmd1Request ¶ added in v1.1.0
type ExCmd1Request struct {
Cmd []byte `struc:"[92]byte" json:"cmd"`
}
请求包结构
func (*ExCmd1Request) Marshal ¶ added in v1.1.0
func (req *ExCmd1Request) Marshal() ([]byte, error)
请求包序列化输出
type ExCmd1Response ¶ added in v1.1.0
响应包结构 serverInfo := Utf8ToGbk(data[68:])
func (*ExCmd1Response) Unmarshal ¶ added in v1.1.0
func (resp *ExCmd1Response) Unmarshal(data []byte) error
Click to show internal directories.
Click to hide internal directories.