Discover Packages
gitee.com/hakwolf/taibak
internal
routers
host
package
Version:
v0.0.0-...-000f062
Opens a new window with list of versions in this module.
Published: Jun 19, 2024
License: AGPL-3.0
Opens a new window with license information.
Imports: 13
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
func All(ctx *macaron.Context) string
All 获取所有主机
func Detail(ctx *macaron.Context) string
Detail 主机详情
func Index(ctx *macaron.Context) string
Index 主机列表
func Ping(ctx *macaron.Context) string
Ping 测试主机是否可连接
func Remove(ctx *macaron.Context) string
Remove 删除主机
type HostForm struct {
Id int16
Name string `binding:"Required;MaxSize(64)"`
Alias string `binding:"Required;MaxSize(32)"`
Port int64 `binding:"Required;Range(1-65535)"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.