Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AllAddrFuncService ¶
type AllAddrFuncService struct {
funchandler.FuncService
}
func NewAllAddrFuncService ¶
func NewAllAddrFuncService() *AllAddrFuncService
func (*AllAddrFuncService) ExecuteAddr ¶
func (this *AllAddrFuncService) ExecuteAddr(c *gin.Context)
@Summary 找服务 @Tags 公共服务 @Description 找服务 @Produce json @Success 200 {object} basedto.IchubResult "成功" @Failure 400 {object} string "请求错误" @Failure 500 {object} string "内部错误" @Router /public/alladdr [get]
func (*AllAddrFuncService) ExecuteAll ¶
func (this *AllAddrFuncService) ExecuteAll(c *gin.Context)
@Summary 根据服务名找服务 @Tags 公共服务 @Description 根据服务名找服务 @Produce json @Param serverName query string true "query params: string" @Success 200 {object} string "成功" @Failure 400 {object} basedto.IchubResult "请求错误" @Failure 500 {object} string "内部错误" @Router /public/allservice [get]
type HealthFuncService ¶
type HealthFuncService struct {
funchandler.FuncService
}
func NewHealthFuncService ¶
func NewHealthFuncService() *HealthFuncService
func (*HealthFuncService) Execute ¶
func (this *HealthFuncService) Execute(c *gin.Context)
@Summary 健康检查 @Tags 公共服务 @Produce json @Success 200 {object} basedto.IchubResult "成功" @Failure 400 {object} string "请求错误" @Failure 500 {object} string "内部错误" @Router /public/health [get]
func (*HealthFuncService) ExecuteHello ¶
func (this *HealthFuncService) ExecuteHello(c *gin.Context)
@Summary 你好世界 @Tags 公共服务 @Produce json @Success 200 {object} basedto.IchubResult "成功" @Failure 400 {object} string "请求错误" @Failure 500 {object} string "内部错误" @Router /public/hello [get]