Documentation ¶
Index ¶
- func ContactQuery(c *utils.HttpContext, req *contactQueryReq) (interface{}, error)
- func DeviceDelete(c *utils.HttpContext, req *deviceDeleteReq) (interface{}, error)
- func DeviceList(c *utils.HttpContext, _ *struct{}) (interface{}, error)
- func DeviceLogin(c *utils.HttpContext, req *deviceLoginReq) (_ struct{}, _ error)
- func DeviceLogout(c *utils.HttpContext, req *deviceLogoutReq) (interface{}, error)
- func DeviceStatus(c *utils.HttpContext, req *deviceStatusReq) (*deviceStatusRes, error)
- func FormFileData(f *multipart.FileHeader) []byte
- func GroupGet(c *utils.HttpContext, req *groupGetReq) (interface{}, error)
- func GroupJoin(c *utils.HttpContext, req *groupJoinReq) (interface{}, error)
- func GroupList(c *utils.HttpContext, req *groupListReq) (interface{}, error)
- func MachineInfo(_ *utils.HttpContext, _ *struct{}) (_ interface{}, err error)
- func MessageSend(c *utils.HttpContext, req *SendReq) (interface{}, error)
- func SetProxy(_ *utils.HttpContext, req *SetProxyReq) (*struct{}, error)
- func TestProxy(_ *utils.HttpContext, _ *struct{}) (*struct{}, error)
- func UploadAdd(c *utils.HttpContext, _ *struct{}) (interface{}, error)
- func UploadGet(c *utils.HttpContext, req *uploadGetReq) (interface{}, error)
- type Contact
- type DeviceListRes
- type MachineInfoRes
- type SendReq
- type SetProxyReq
- type VerifyReq
- type VerifyRes
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContactQuery ¶
func ContactQuery(c *utils.HttpContext, req *contactQueryReq) (interface{}, error)
func DeviceDelete ¶
func DeviceDelete(c *utils.HttpContext, req *deviceDeleteReq) (interface{}, error)
func DeviceList ¶
func DeviceList(c *utils.HttpContext, _ *struct{}) (interface{}, error)
func DeviceLogin ¶
func DeviceLogin(c *utils.HttpContext, req *deviceLoginReq) (_ struct{}, _ error)
func DeviceLogout ¶
func DeviceLogout(c *utils.HttpContext, req *deviceLogoutReq) (interface{}, error)
func DeviceStatus ¶
func DeviceStatus(c *utils.HttpContext, req *deviceStatusReq) (*deviceStatusRes, error)
func FormFileData ¶
func FormFileData(f *multipart.FileHeader) []byte
func GroupGet ¶
func GroupGet(c *utils.HttpContext, req *groupGetReq) (interface{}, error)
func GroupJoin ¶
func GroupJoin(c *utils.HttpContext, req *groupJoinReq) (interface{}, error)
func GroupList ¶
func GroupList(c *utils.HttpContext, req *groupListReq) (interface{}, error)
func MachineInfo ¶
func MachineInfo(_ *utils.HttpContext, _ *struct{}) (_ interface{}, err error)
func MessageSend ¶
func MessageSend(c *utils.HttpContext, req *SendReq) (interface{}, error)
func SetProxy ¶
func SetProxy(_ *utils.HttpContext, req *SetProxyReq) (*struct{}, error)
func TestProxy ¶
func TestProxy(_ *utils.HttpContext, _ *struct{}) (*struct{}, error)
func UploadAdd ¶
func UploadAdd(c *utils.HttpContext, _ *struct{}) (interface{}, error)
func UploadGet ¶
func UploadGet(c *utils.HttpContext, req *uploadGetReq) (interface{}, error)
Types ¶
type DeviceListRes ¶
type MachineInfoRes ¶
type SetProxyReq ¶
type SetProxyReq struct {
Url string `json:"url"`
}
Click to show internal directories.
Click to hide internal directories.