gin

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HealthChecker

type HealthChecker struct {
	ioc.ObjectImpl
	ioc_health.HealthCheck

	Service healthgrpc.HealthServer `ioc:"autowire=true;namespace=controllers"`
	// contains filtered or unexported fields
}

func (*HealthChecker) HealthHandleFunc

func (h *HealthChecker) HealthHandleFunc(c *gin.Context)

@Summary 健康检查 @Description 修改文章标签 @Tags 文章管理 @Produce json @Param id path int true "ID" @Param name query string true "ID" @Param state query int false "State" @Param modified_by query string true "ModifiedBy" @Success 200 {string} json "{"code":200,"data":{},"msg":"ok"}" @Router /heathcheck [put]

func (*HealthChecker) Init

func (h *HealthChecker) Init() error

func (*HealthChecker) Meta

func (h *HealthChecker) Meta() ioc.ObjectMeta

func (*HealthChecker) Name

func (h *HealthChecker) Name() string

func (*HealthChecker) Registry

func (h *HealthChecker) Registry()

Jump to

Keyboard shortcuts

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