server

package
v0.0.0-...-71876dc Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GroupAdd

func GroupAdd(c *gin.Context)

func GroupDelete

func GroupDelete(c *gin.Context)

func GroupDetail

func GroupDetail(c *gin.Context)

func GroupList

func GroupList(c *gin.Context)

func GroupUpdate

func GroupUpdate(c *gin.Context)

func ServerAdd

func ServerAdd(c *gin.Context)

func ServerDelete

func ServerDelete(c *gin.Context)

func ServerDetail

func ServerDetail(c *gin.Context)

func ServerList

func ServerList(c *gin.Context)

func ServerUpdate

func ServerUpdate(c *gin.Context)

Types

type GroupForm

type GroupForm struct {
	ID   int    `form:"id"`
	Name string `form:"name" binding:"required"`
}

type QueryBind

type QueryBind struct {
	Keyword string `form:"keyword"`
	Offset  int    `form:"offset"`
	Limit   int    `form:"limit" binding:"required,gte=1,lte=999"`
}

type ServerForm

type ServerForm struct {
	GroupId int    `form:"group_id" binding:"required"`
	Name    string `form:"name" binding:"required"`
	Ip      string `form:"ip" binding:"required"`
	SSHPort int    `form:"ssh_port" binding:"required,gte=1,lte=65535"`
}

Jump to

Keyboard shortcuts

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