v2

package
v1.1.5 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2023 License: MIT Imports: 2 Imported by: 0

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 NewExCmd1Request added in v1.1.0

func NewExCmd1Request() (*ExCmd1Request, error)

创建ExCmd1请求包

func (*ExCmd1Request) Marshal added in v1.1.0

func (req *ExCmd1Request) Marshal() ([]byte, error)

请求包序列化输出

type ExCmd1Response added in v1.1.0

type ExCmd1Response struct {
	Unknown []byte `json:"unknown"`
	Reply   string `json:"reply"`
}

响应包结构 serverInfo := Utf8ToGbk(data[68:])

func (*ExCmd1Response) Unmarshal added in v1.1.0

func (resp *ExCmd1Response) Unmarshal(data []byte) error

Jump to

Keyboard shortcuts

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