ladder

package
v0.0.0-...-5c42bcd Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApiGroup

type ApiGroup struct {
	ServerNodeApi
	InboundsApi
}

type InboundsApi

type InboundsApi struct {
}

func (*InboundsApi) CreateInbounds

func (inboundsApi *InboundsApi) CreateInbounds(c *gin.Context)

CreateInbounds 创建Inbounds @Tags Inbounds @Summary 创建Inbounds @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body ladder.Inbounds true "创建Inbounds" @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}" @Router /inbounds/createInbounds [post]

func (*InboundsApi) DeleteInbounds

func (inboundsApi *InboundsApi) DeleteInbounds(c *gin.Context)

DeleteInbounds 删除Inbounds @Tags Inbounds @Summary 删除Inbounds @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body ladder.Inbounds true "删除Inbounds" @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}" @Router /inbounds/deleteInbounds [delete]

func (*InboundsApi) DeleteInboundsByIds

func (inboundsApi *InboundsApi) DeleteInboundsByIds(c *gin.Context)

DeleteInboundsByIds 批量删除Inbounds @Tags Inbounds @Summary 批量删除Inbounds @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body request.IdsReq true "批量删除Inbounds" @Success 200 {string} string "{"success":true,"data":{},"msg":"批量删除成功"}" @Router /inbounds/deleteInboundsByIds [delete]

func (*InboundsApi) FindInbounds

func (inboundsApi *InboundsApi) FindInbounds(c *gin.Context)

FindInbounds 用id查询Inbounds @Tags Inbounds @Summary 用id查询Inbounds @Security ApiKeyAuth @accept application/json @Produce application/json @Param data query ladder.Inbounds true "用id查询Inbounds" @Success 200 {string} string "{"success":true,"data":{},"msg":"查询成功"}" @Router /inbounds/findInbounds [get]

func (inboundsApi *InboundsApi) FindInboundsLink(c *gin.Context)

FindInboundsLink 根据服务器ID和当前用户查询节点链接信息

func (*InboundsApi) GetInboundsList

func (inboundsApi *InboundsApi) GetInboundsList(c *gin.Context)

GetInboundsList 分页获取Inbounds列表 @Tags Inbounds @Summary 分页获取Inbounds列表 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data query ladderReq.InboundsSearch true "分页获取Inbounds列表" @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}" @Router /inbounds/getInboundsList [get]

func (inboundsApi *InboundsApi) SetInboundsLink(c *gin.Context)

SetInboundsLink 重置节点链接

func (*InboundsApi) UpdateInbounds

func (inboundsApi *InboundsApi) UpdateInbounds(c *gin.Context)

UpdateInbounds 更新Inbounds @Tags Inbounds @Summary 更新Inbounds @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body ladder.Inbounds true "更新Inbounds" @Success 200 {string} string "{"success":true,"data":{},"msg":"更新成功"}" @Router /inbounds/updateInbounds [put]

type ServerNodeApi

type ServerNodeApi struct {
}

func (*ServerNodeApi) CreateServerNode

func (serverNodeApi *ServerNodeApi) CreateServerNode(c *gin.Context)

CreateServerNode 创建ServerNode @Tags ServerNode @Summary 创建ServerNode @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body ladder.ServerNode true "创建ServerNode" @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}" @Router /serverNode/createServerNode [post]

func (*ServerNodeApi) DeleteServerNode

func (serverNodeApi *ServerNodeApi) DeleteServerNode(c *gin.Context)

DeleteServerNode 删除ServerNode @Tags ServerNode @Summary 删除ServerNode @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body ladder.ServerNode true "删除ServerNode" @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}" @Router /serverNode/deleteServerNode [delete]

func (*ServerNodeApi) DeleteServerNodeByIds

func (serverNodeApi *ServerNodeApi) DeleteServerNodeByIds(c *gin.Context)

DeleteServerNodeByIds 批量删除ServerNode @Tags ServerNode @Summary 批量删除ServerNode @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body request.IdsReq true "批量删除ServerNode" @Success 200 {string} string "{"success":true,"data":{},"msg":"批量删除成功"}" @Router /serverNode/deleteServerNodeByIds [delete]

func (*ServerNodeApi) FindServerNode

func (serverNodeApi *ServerNodeApi) FindServerNode(c *gin.Context)

FindServerNode 用id查询ServerNode @Tags ServerNode @Summary 用id查询ServerNode @Security ApiKeyAuth @accept application/json @Produce application/json @Param data query ladder.ServerNode true "用id查询ServerNode" @Success 200 {string} string "{"success":true,"data":{},"msg":"查询成功"}" @Router /serverNode/findServerNode [get]

func (*ServerNodeApi) GetServerNodeLessList

func (serverNodeApi *ServerNodeApi) GetServerNodeLessList(c *gin.Context)

GetServerNodeLessList 查询当前用户的节点信息

func (*ServerNodeApi) GetServerNodeList

func (serverNodeApi *ServerNodeApi) GetServerNodeList(c *gin.Context)

GetServerNodeList 分页获取ServerNode列表 @Tags ServerNode @Summary 分页获取ServerNode列表 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data query ladderReq.ServerNodeSearch true "分页获取ServerNode列表" @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}" @Router /serverNode/getServerNodeList [get]

func (*ServerNodeApi) UpdateServerNode

func (serverNodeApi *ServerNodeApi) UpdateServerNode(c *gin.Context)

UpdateServerNode 更新ServerNode @Tags ServerNode @Summary 更新ServerNode @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body ladder.ServerNode true "更新ServerNode" @Success 200 {string} string "{"success":true,"data":{},"msg":"更新成功"}" @Router /serverNode/updateServerNode [put]

Jump to

Keyboard shortcuts

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