api

package
v0.0.0-...-8d4a05d Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2025 License: MIT Imports: 10 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
	HandlerArticle      *handler.HandlerArticle
	HandlerStatsArticle *handler.HandlerStatsArticle
	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