trafficlogger

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2025 License: MIT, MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TrafficStatsServer

type TrafficStatsServer interface {
	server.TrafficLogger
	http.Handler
}

TrafficStatsServer implements both server.TrafficLogger and http.Handler to provide a simple HTTP API to get the traffic stats per user.

func NewTrafficStatsServer

func NewTrafficStatsServer(secret string) TrafficStatsServer

Jump to

Keyboard shortcuts

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