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
Click to show internal directories.
Click to hide internal directories.