Documentation ¶
Overview ¶
Package stat gathers and prints repbin server usage statistics. Post and fetch statistics are shown as minute-by-minute averages over the last minute, 5 minutes, 60 minutes and 24 hours.
Index ¶
Constants ¶
View Source
const ( // Post adds a new post to the statistic. Post = iota // Fetch adds a new fetch to the statistic. Fetch // Show prints the statistics. Show )
Variables ¶
View Source
var Input = make(chan Event, 1024)
Input is the repserver statistics input channel.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.