stats

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 15, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Stats

type Stats struct {
	NumCommands       uint64    `json:"numCommands"`
	HighestCount      uint64    `json:"highestCount"`
	MostUsedCommands  []string  `json:"mostUsedCommands"`
	OldestCommandTime time.Time `json:"oldestCommandTime"`
	OldestCommands    []string  `json:"oldestCommands"`
	NewestCommandTime time.Time `json:"newestCommandTime"`
	NewestCommands    []string  `json:"newestCommands"`
}

func (*Stats) ToString

func (s *Stats) ToString() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL