Documentation ¶ Index ¶ func Save(filename string, m *Metrics) error type Metrics func Load(filename string) (*Metrics, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Save ¶ func Save(filename string, m *Metrics) error Types ¶ type Metrics ¶ type Metrics struct { Total int `json:"total"` Valid int `json:"valid"` Discarded int `json:"discarded"` Folders map[string]int `json:"folders"` SpamRules map[string]int `json:"spamRules"` } func Load ¶ func Load(filename string) (*Metrics, error) Source Files ¶ View all Source files metrics.go Click to show internal directories. Click to hide internal directories.