Documentation
¶
Index ¶
- func FormatDuration(nanos int64) string
- func FormatRate(bytes, nanos int64) string
- func JSON(mountpoint, endpoint string, query url.Values, output any) error
- func PrintLogEntry(entry core.LogEntry)
- func PrintStats(stats core.Stats)
- func PrintStatsBrief(stats core.Stats)
- func Request(mountpoint, endpoint string, query url.Values, output any, method string, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatDuration ¶
FormatDuration renders a diagnostic duration.
func FormatRate ¶
FormatRate renders a byte throughput measured over the supplied duration.
func PrintLogEntry ¶
PrintLogEntry renders one diagnostic event.
func PrintStats ¶
PrintStats renders the complete daemon statistics.
func PrintStatsBrief ¶
PrintStatsBrief renders the compact daemon statistics.
Types ¶
This section is empty.