api

package
v0.0.0-...-faa1211 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2024 License: MIT Imports: 25 Imported by: 0

Documentation

Overview

Package api router

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HealthyHandler

func HealthyHandler(c *gin.Context)

HealthyHandler 健康检查

func ReadyHandler

func ReadyHandler(c *gin.Context)

ReadyHandler 健康检查

func RegisterStoreGWRoutes

func RegisterStoreGWRoutes(gw *storegw.StoreGW) *route.Router

RegisterStoreGWRoutes 注册storegw http-sd

Types

type APIServer

type APIServer struct {
	// contains filtered or unexported fields
}

APIServer :

func NewAPIServer

func NewAPIServer(ctx context.Context, addr, port, addrIPv6 string) (*APIServer, error)

NewAPIServer :

func (*APIServer) Close

func (a *APIServer) Close() error

Close :

func (*APIServer) Run

func (a *APIServer) Run() error

Run :

Directories

Path Synopsis
Package logrule log rule
Package logrule log rule
Package metrics api metric
Package metrics api metric
query
Package query metric query
Package query metric query
Package pod pod operate
Package pod pod operate
Package podmonitor prometheus pods monitor
Package podmonitor prometheus pods monitor
Package servicemonitor prometheus service monitor
Package servicemonitor prometheus service monitor

Jump to

Keyboard shortcuts

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