boot

package
v0.0.0-...-51923ae Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2024 License: AGPL-3.0 Imports: 24 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GitHashHandler

func GitHashHandler(gCtx *gin.Context)

@Summary 获取标签列表 @BasePath / @Produce json @Success 200 {object} model.StatusResponse @Router /git_hash [get]

func Load

func Load(cfg commonconfig.ServerConfig, logDir string, isrv IService)

func PingPongHandler

func PingPongHandler(gCtx *gin.Context)

PingPongHandler @Summary 获取标签列表 @BasePath / @Produce json @Success 200 {object} model.StatusResponse @Router /ping [get]

Types

type IService

type IService interface {
	RegisterGrpc(grpcS *grpc.Server)
	RegisterGinRouter(ginEngine *gin.Engine)
	Init(etcdName string, etcdCli *etcdclient.Client, reg utils.Register)
	Close()
}

Jump to

Keyboard shortcuts

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