public

package
v1.0.1-dev-02 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2024 License: MulanPSL-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register()

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]

Jump to

Keyboard shortcuts

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