const maxEventsPerLog …
type bucket …
var buckets …
func RenderEvents(w http.ResponseWriter, req *http.Request, sensitive bool) { … }
func parseEventsArgs(req *http.Request) (fam string, b int, ok bool) { … }
type EventLog …
func NewEventLog(family, title string) EventLog { … }
func (el *eventLog) Finish() { … }
var famMu …
var families …
func getEventFamily(fam string) *eventFamily { … }
type eventFamily …
func (f *eventFamily) add(el *eventLog) { … }
func (f *eventFamily) remove(el *eventLog) { … }
func (f *eventFamily) Count(now time.Time, maxErrAge time.Duration) (n int) { … }
func (f *eventFamily) Copy(now time.Time, maxErrAge time.Duration) (els eventLogs) { … }
type eventLogs …
func (els eventLogs) Free() { … }
func (els eventLogs) Len() int { … }
func (els eventLogs) Less(i, j int) bool { … }
func (els eventLogs) Swap(i, j int) { … }
type logEntry …
func (e logEntry) WhenString() string { … }
type eventLog …
func (el *eventLog) reset() { … }
func (el *eventLog) hasRecentError(now time.Time, maxErrAge time.Duration) bool { … }
func (el *eventLog) delta(t time.Time) (time.Duration, bool) { … }
func (el *eventLog) Printf(format string, a ...interface{ … }
func (el *eventLog) Errorf(format string, a ...interface{ … }
func (el *eventLog) printf(isErr bool, format string, a ...interface{ … }
func (el *eventLog) ref() { … }
func (el *eventLog) unref() { … }
func (el *eventLog) When() string { … }
func (el *eventLog) ElapsedTime() string { … }
func (el *eventLog) Stack() string { … }
func printStackRecord(w io.Writer, stk []uintptr) { … }
func (el *eventLog) Events() []logEntry { … }
var freeEventLogs …
func newEventLog() *eventLog { … }
func freeEventLog(el *eventLog) { … }
var eventsTmplCache …
var eventsTmplOnce …
func eventsTmpl() *template.Template { … }
const eventsHTML …