response

package
v3.0.0-beta9 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2023 License: MIT Imports: 1 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseInfo

type BaseInfo struct {
	DeviceType string `json:"device_type"`
	DeviceID   string `json:"device_id"`
}

type BaseResp

type BaseResp struct {
	ErrCode int    `json:"errcode"`
	ErrMsg  string `json:"errmsg"`
}

type Code

type Code struct {
	DeviceID string `json:"device_id"`
	Ticket   string `json:"ticket"`
}

type Resp

type Resp struct {
	BaseInfo *BaseInfo `json:"base_info"`
	ErrCode  int       `json:"errcode"`
	ErrMsg   string    `json:"errmsg"`
}

type RespMsg

type RespMsg struct {
	RetCode   int    `json:"ret_code"`
	ErrorInfo string `json:" error_info"`
}

type ResponseDeviceAuthorize

type ResponseDeviceAuthorize struct {
	*response.ResponseOfficialAccount

	Resp []*Resp `json:"resp"`
}

type ResponseDeviceBind

type ResponseDeviceBind struct {
	BaseResp *BaseResp `json:"base_resp"`
}

type ResponseDeviceCreateID

type ResponseDeviceCreateID struct {
	*response.ResponseOfficialAccount

	RespMsg *RespMsg `json:"resp_msg"`
}

type ResponseDeviceCreateQRCode

type ResponseDeviceCreateQRCode struct {
	*response.ResponseOfficialAccount

	DeviceNum int     `json:"device_num"`
	CodeList  []*Code `json:"code_list"`
}

type ResponseDeviceMessage

type ResponseDeviceMessage struct {
	*response.ResponseOfficialAccount

	Ret     int    `json:"ret"`
	RetInfo string `json:"ret_info"`
}

Jump to

Keyboard shortcuts

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