Versions in this module Expand all Collapse all v0 v0.8.0 Mar 24, 2026 Changes in this version + func ExtractStatsSessionID(basename string) string + func FormatDumpStats(entries []Entry, last int, jsonOut bool) []string + func FormatStatsHeader() (string, string) + func FormatStatsJSON(entries []Entry) []string + func FormatStatsLine(e *Entry) string + func FormatStatsTimestamp(ts string) string + func StreamStats(w io.Writer, dir, sessionFilter string, jsonOut bool) error + type Entry struct + Session string + func ParseStatsFile(path, sid string) ([]Entry, error) + func ReadNewLines(path string, offset int64, sid string) []Entry + func ReadStatsDir(dir, sessionFilter string) ([]Entry, error)