api

package
v0.0.0-...-5ced209 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type API

type API interface {
	Register(app *gin.Engine)
}

type Handler

type Handler struct {
	Middleware         *middleware.Middleware
	PrometheusRegistry *prometheus.Registry
}

func (*Handler) GetNoRoute

func (h *Handler) GetNoRoute(c *gin.Context)

func (*Handler) HealthHandler

func (h *Handler) HealthHandler(c *gin.Context)

func (*Handler) MetricsHandler

func (h *Handler) MetricsHandler(c *gin.Context)

func (*Handler) Register

func (h *Handler) Register(app *gin.Engine)

func (*Handler) RegisterStaticFS

func (h *Handler) RegisterStaticFS(app *gin.Engine, path string)

Jump to

Keyboard shortcuts

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