Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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]