gocenter

package
v1.0.1-rel-02 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2024 License: AFL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register()

Types

type AllServiceFuncService

type AllServiceFuncService struct {
	funchandler.FuncService
}

服务信息接口

func NewAllServiceFuncService

func NewAllServiceFuncService() *AllServiceFuncService

func (*AllServiceFuncService) ExecuteAllAddr

func (this *AllServiceFuncService) ExecuteAllAddr(c *gin.Context)

@Summary 服务列表 @Tags 公共服务 @Description 服务LIST @Produce json @body enginepub.RuleData @Success 200 {object} basedto.IchubResult "成功" @Failure 400 {object} string "请求错误" @Failure 500 {object} string "内部错误" @Router /alladdr [get]

func (*AllServiceFuncService) ExecuteAllService

func (this *AllServiceFuncService) ExecuteAllService(c *gin.Context)

@Summary 根据服务名找服务 @Tags 公共服务 @Description 根据服务名称查找服务 @Produce json @Param serverName query string true "query params: string" @Success 200 {object} basedto.IchubResult "成功" @Failure 400 {object} string "请求错误" @Failure 500 {object} string "内部错误" @Router /allservice [get]

func (*AllServiceFuncService) ExecuteHealth

func (this *AllServiceFuncService) ExecuteHealth(c *gin.Context)

@Summary health @Tags 公共服务 @Produce json @Success 200 {object} basedto.IchubResult "成功" @Failure 400 {object} string "请求错误" @Failure 500 {object} string "内部错误" @Router /health [get]

func (*AllServiceFuncService) HelloWorld

func (this *AllServiceFuncService) HelloWorld(c *gin.Context)

@Summary HelloWorld @Tags 公共服务 @Produce json @Success 200 {object} basedto.IchubResult "成功" @Failure 400 {object} string "请求错误" @Failure 500 {object} string "内部错误" @Router /helloword [get]

type WebagentFuncService

type WebagentFuncService struct {
	funchandler.FuncService
}

服务信息接口

func NewWebagentFuncService

func NewWebagentFuncService() *WebagentFuncService

func (*WebagentFuncService) ExecuteWebagent

func (this *WebagentFuncService) ExecuteWebagent(c *gin.Context)

@Summary 根据token获取用户信息 @Tags 公共服务 @Description 根据TOKEN获取UserID @Produce json @Param serverName query string true "query params: string" @Success 200 {object} basedto.IchubResult "成功" @Failure 400 {object} string "请求错误" @Failure 500 {object} string "内部错误" @Router /webagent [get]

Jump to

Keyboard shortcuts

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