Versions in this module Expand all Collapse all v1 v1.3.2 Aug 13, 2026 Changes in this version + const RateWindow v1.3.1 Aug 3, 2026 v1.3.0 Aug 3, 2026 Changes in this version + type ReturnClientList struct + Clients []*ReturnClient + Page int + PageSize int + Total int v1.2.0 Jun 21, 2026 v1.1.2 Jun 21, 2026 v1.1.1 Jun 21, 2026 v1.1.0 Jun 7, 2026 Changes in this version type ReturnClient + LastTX time.Time type ReturnServer + Codename string v1.0.0 Jun 4, 2026 Changes in this version + func RespInternalServerError(c fiber.Ctx, err error) error + func RespNotFound(c fiber.Ctx) error + func RespSuccess[T any](c fiber.Ctx, data T) error + func Resp[T any](c fiber.Ctx, httpCode int, statusCode int, data T, msg string) error + type Counters struct + func (c *Counters) AddReceivedBytes(n uint64) + func (c *Counters) AddReceivedDups(n uint64) + func (c *Counters) AddReceivedErrors(n uint64) + func (c *Counters) AddReceivedPackets(n uint64) + func (c *Counters) AddReceivedQDrop(n uint64) + func (c *Counters) AddSentBytes(n uint64) + func (c *Counters) AddSentPackets(n uint64) + func (c *Counters) Snapshot() Statistics + func (c *Counters) UpdateRates() + type ListenerConfig struct + Filter string + Host string + Mode string + Name string + Port int + Protocol string + Visible string + type Memory struct + CurrentAllocated float64 + Free uint64 + Heap float64 + LastGC time.Time + LastPauseTotalSec float64 + Lookups uint64 + Malloc uint64 + NextGC float64 + NumGC uint32 + PauseTotalSec float64 + Self float64 + Total float64 + TotalAllocated float64 + Used float64 + type ReturnClient struct + Addr string + At string + BytesRX uint64 + BytesRXRate uint64 + BytesTX uint64 + BytesTXRate uint64 + Filter string + ID string + Last time.Time + MsgRcpts int + OutQ int + PacketRX uint64 + PacketRXDup uint64 + PacketRXErr uint64 + PacketRXRate uint64 + PacketTX uint64 + PacketTXRate uint64 + Port int + Software string + Uptime time.Time + Verified bool + Version string + type ReturnListener struct + BytesRX uint64 + BytesRXRate uint64 + BytesTX uint64 + BytesTXRate uint64 + Filter string + Host string + Mode string + Name string + OnlineClient int + PacketRX uint64 + PacketRXRate uint64 + PacketTX uint64 + PacketTXRate uint64 + PeakClient int + Port int + Protocol string + type ReturnPeer struct + Addr string + ID string + Name string + type ReturnServer struct + Admin string + Arch string + Email string + ID string + Memory Memory + Model string + Now time.Time + OS string + Percent float64 + Software string + Uptime float64 + Version string + type ReturnStatus struct + Clients []*ReturnClient + Listeners []*ReturnListener + Msg string + Peers []*ReturnPeer + Server ReturnServer + Totals ReturnTotals + Uplink *ReturnUplink + type ReturnTotals struct + BytesRX uint64 + BytesRXRate uint64 + BytesTX uint64 + BytesTXRate uint64 + Clients int + Dupes uint64 + PacketRX uint64 + PacketRXRate uint64 + PacketTX uint64 + PacketTXRate uint64 + PositionCache int + type ReturnUplink struct + BytesRX uint64 + BytesRXRate uint64 + BytesTX uint64 + BytesTXRate uint64 + Host string + ID string + Last time.Time + Mode client.Mode + PacketRX uint64 + PacketRXDup uint64 + PacketRXErr uint64 + PacketRXRate uint64 + PacketTX uint64 + PacketTXRate uint64 + Port int + Protocol client.Protocol + RealAddr string + Server string + ServerID string + Up bool + Uptime time.Time + type Statistics struct + ReceivedBytes uint64 + ReceivedDups uint64 + ReceivedErrors uint64 + ReceivedPackets uint64 + ReceivedQDrop uint64 + RecvByteRate uint64 + RecvPacketRate uint64 + SendByteRate uint64 + SendPacketRate uint64 + SentBytes uint64 + SentPackets uint64 + type StatsReturn struct + Memory [][2]any + Msg string + UplinkBytesRX [][2]any + UplinkBytesTX [][2]any + UplinkPacketRX [][2]any + UplinkPacketTX [][2]any + type SystemStatus struct + Memory Memory + Percent float64 + type UplinkConfig struct + Host string + Mode client.Mode + Name string + Port int + Protocol client.Protocol