allweb

package
v0.0.0-...-2be15ab Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2026 License: MulanPSL-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InjectAllFuncWeb

func InjectAllFuncWeb(s *AllFuncWeb)

func InjectWebagentFuncService

func InjectWebagentFuncService(s *WebagentFuncService)

func LoadAllFuncWeb

func LoadAllFuncWeb() baseiface.ISingleton

func LoadWebagentFuncService

func LoadWebagentFuncService() baseiface.ISingleton

func Register

func Register()

Types

type AllFuncWeb

服务信息接口

func FindBeanAllFuncWeb

func FindBeanAllFuncWeb() *AllFuncWeb

FindBeanAllFuncWeb

func NewAllFuncWeb

func NewAllFuncWeb() *AllFuncWeb

func (*AllFuncWeb) AllAddr

func (self *AllFuncWeb) AllAddr(c *gin.Context)

AllAddr @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 (*AllFuncWeb) AllService

func (self *AllFuncWeb) AllService(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 /allweb [get]

func (*AllFuncWeb) Health

func (self *AllFuncWeb) Health(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 (*AllFuncWeb) HelloWorld

func (self *AllFuncWeb) 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]

func (*AllFuncWeb) ListService

func (self *AllFuncWeb) ListService(c *gin.Context)

@Summary 显示所有服务 @Tags 公共服务信息 @Description 显示所有服务 @Produce json @Success 200 {object} basedto.IchubResult "成功" @Failure 400 {object} string "请求错误" @Failure 500 {object} string "内部错误" @Router /servicelist [get]

type WebagentFuncService

服务信息接口

func FindBeanWebagentFuncService

func FindBeanWebagentFuncService() *WebagentFuncService

FindBeanWebagentFuncService

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