Discover Packages
github.com/IceWhaleTech/CasaOS-Common
model
package
Version:
v0.3.8-alpha1
Opens a new window with list of versions in this module.
Published: Nov 9, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 15
Opens a new window with list of known importers.
Documentation
Documentation
¶
type ChangePortRequest struct {
Port string `json:"port" binding:"required"`
}
type Result struct {
Success int `json:"success" example:"200"`
Message string `json:"message" example:"ok"`
Data interface{} `json:"data" example:"返回结果"`
}
type Route struct {
Path string `json:"path" binding:"required"`
Target string `json:"target" binding:"required"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.