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 ¶
ExCmd1Response 响应包结构
func (*ExCmd1Response) Unmarshal ¶
func (resp *ExCmd1Response) Unmarshal(data []byte) error
Click to show internal directories.
Click to hide internal directories.