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) Execute ¶
func (this *AllAddrFuncService) Execute(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]
type AllServiceFuncService ¶
type AllServiceFuncService struct {
funchandler.FuncService
}
func NewAllServiceFuncService ¶
func NewAllServiceFuncService() *AllServiceFuncService
func (*AllServiceFuncService) Execute ¶
func (this *AllServiceFuncService) Execute(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 /health [get]
type HelloWorldFuncService ¶
type HelloWorldFuncService struct {
funchandler.FuncService
}
func NewHelloWorldFuncService ¶
func NewHelloWorldFuncService() *HelloWorldFuncService
func (*HelloWorldFuncService) Execute ¶
func (this *HelloWorldFuncService) Execute(c *gin.Context)
@Summary HelloWorld @Tags 公共服务 @Produce json @Success 200 {object} basedto.IchubResult "成功" @Failure 400 {object} string "请求错误" @Failure 500 {object} string "内部错误" @Router / [get]