model

package
v0.4.22 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2026 License: Apache-2.0 Imports: 0 Imported by: 20 modules, 27 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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 ComposeAppStoreInfo added in v0.4.8

type ComposeAppStoreInfo struct {
	Architectures  []string          `json:"architectures,omitempty" yaml:",omitempty"`
	Author         string            `json:"author"`
	Category       string            `json:"category"`
	Description    map[string]string `json:"description"`
	Developer      string            `json:"developer"`
	Hostname       string            `json:"hostname,omitempty" yaml:",omitempty"`
	Icon           string            `json:"icon"`
	Index          string            `json:"index" yaml:",omitempty"`
	Main           string            `json:"main,omitempty" yaml:",omitempty"`
	PortMap        string            `json:"port_map" mapstructure:"port_map" yaml:"port_map,omitempty"`
	Scheme         string            `json:"scheme,omitempty" yaml:",omitempty"`
	ScreenshotLink []string          `json:"screenshot_link" mapstructure:"screenshot_link" yaml:"screenshot_link,omitempty"`
	StoreAppID     string            `json:"store_app_id,omitempty" mapstructure:"store_app_id" yaml:"store_app_id,omitempty"`
	Tagline        map[string]string `json:"tagline"`
	Thumbnail      string            `json:"thumbnail"`
	Title          map[string]string `json:"title"`
}

type ComposeAppWithStoreInfo added in v0.4.8

type ComposeAppWithStoreInfo struct {
	// Compose See [Compose Specification](https://compose-spec.io) for the schema structure of `ComposeApp`.
	Status          string              `json:"status,omitempty"`
	StoreInfo       ComposeAppStoreInfo `json:"store_info,omitempty"`
	UpdateAvailable bool                `json:"update_available,omitempty" yaml:",omitempty"`
}

type DeviceInfo added in v0.4.8

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