admin

package
v0.0.0-...-f9f9634 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2026 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterRoutes

func RegisterRoutes(r *gin.Engine)

Types

type DashboardData

type DashboardData struct {
	TotalRequests int
	AvgResponseMs float32
	ErrorCount    int
	RoutedCount   int
	TopIPs        []IPStat
	TopServices   []ServiceStat
	ChartLabels   string
	ChartData     string
	Span          string
	GatewayName   string
}

type IPStat

type IPStat struct {
	IP    string
	Count int
}

type ServiceStat

type ServiceStat struct {
	Name    string
	Count   int
	AvgTime float32
}

Jump to

Keyboard shortcuts

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