model

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2024 License: Apache-2.0 Imports: 0 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChangePortRequest

type ChangePortRequest struct {
	Port string `json:"port" binding:"required"`
}

type DeviceInfo

type DeviceInfo struct {
	LanIpv4     []string            `json:"lan_ipv4"`
	Port        int                 `json:"port"`
	DeviceName  string              `json:"device_name"`
	DeviceModel string              `json:"device_model"`
	Initialized bool                `json:"initialized"`
	OS_Version  string              `json:"os_version"`
	Hash        string              `json:"hash"`
	RequestIp   string              `json:"request_ip,omitempty"`
	TB_Ipv4     []string            `json:"tb_ipv4"`
	Ip4         []map[string]string `json:"ip4"`
}

type Result

type Result struct {
	Success int         `json:"success" example:"200"`
	Message string      `json:"message" example:"ok"`
	Data    interface{} `json:"data" example:"返回结果"`
}

type Route

type Route struct {
	Path   string `json:"path" binding:"required"`
	Target string `json:"target" binding:"required"`
}

Directories

Path Synopsis
@Author: LinkLeong link@icewhale.com
@Author: LinkLeong link@icewhale.com

Jump to

Keyboard shortcuts

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