ext

package
v2.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewExCmd1

func NewExCmd1() (*ExCmd1Request, *ExCmd1Response, error)

Types

type ExCmd1Request

type ExCmd1Request struct {
	Cmd []byte `struc:"[92]byte" json:"cmd"`
}

ExCmd1Request 请求包结构

func NewExCmd1Request

func NewExCmd1Request() (*ExCmd1Request, error)

NewExCmd1Request 创建ExCmd1请求包

func (*ExCmd1Request) Marshal

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

Marshal 请求包序列化输出

type ExCmd1Response

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

ExCmd1Response 响应包结构

func (*ExCmd1Response) Unmarshal

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