Documentation
¶
Index ¶
- func BatchDelete(c *gin.Context, in *BatchDeleteRequest)
- func Create(c *gin.Context, in *CreateRequest)
- func Delete(c *gin.Context, in *DeleteRequest)
- func Edit(c *gin.Context, in *EditRequest)
- func Export(c *gin.Context, in *ExportRequest)
- func Import(c *gin.Context)
- func Restart(c *gin.Context, in *RestartRequest)
- func Start(c *gin.Context, in *StartRequest)
- func Status(c *gin.Context, in *StatusRequest)
- func Stop(c *gin.Context, in *StopRequest)
- type BatchDeleteRequest
- type CreateRequest
- type DeleteRequest
- type EditRequest
- type ExportRequest
- type RestartRequest
- type StartRequest
- type StatusRequest
- type StopRequest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BatchDeleteRequest ¶
type BatchDeleteRequest struct {
Uuid []string `json:"uuid" binding:"required"` // 代理唯一标识
}
type CreateRequest ¶
type DeleteRequest ¶
type DeleteRequest struct {
Name string `json:"name" binding:"required"` // 代理名称
}
type EditRequest ¶
type ExportRequest ¶
type ExportRequest struct {
Uuid []string `json:"uuid" binding:"required"` // 代理唯一标识
}
type RestartRequest ¶
type RestartRequest struct {
Name string `json:"name" binding:"required"` // 代理名称
}
type StartRequest ¶
type StartRequest struct {
Name string `json:"name" binding:"required"` // 代理名称
}
type StatusRequest ¶
type StatusRequest struct {
Name string `json:"name"` // 代理名称
}
type StopRequest ¶
type StopRequest struct {
Name string `json:"name" binding:"required"` // 代理名称
}
Click to show internal directories.
Click to hide internal directories.