metrics

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

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)

Jump to

Keyboard shortcuts

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