handler

package
v0.18.2 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuzHandler added in v0.12.0

func BuzHandler() gin.HandlerFunc

func ConfigOverviewHandler

func ConfigOverviewHandler(conf config.Config) gin.HandlerFunc

func HealthcheckHandler

func HealthcheckHandler(c *gin.Context)

func RouteOverviewHandler

func RouteOverviewHandler(conf config.Config) gin.HandlerFunc

func StatsHandler

func StatsHandler(m *meta.CollectorMeta) gin.HandlerFunc

Types

type RoutesResponse

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

type StatsResponse

type StatsResponse struct {
	CollectorMeta *meta.CollectorMeta  `json:"collectorMeta"`
	Stats         *stats.ProtocolStats `json:"stats"`
}

Jump to

Keyboard shortcuts

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