Versions in this module Expand all Collapse all v1 v1.0.1 Jun 26, 2020 Changes in this version + func Filter(in <-chan Report, threshold int) <-chan Report + func FormatQuery(report Report, suffix string) ([]byte, error) + type Key struct + Country string + Date time.Time + Domain string + type Receiver struct + Suffix string + Values int + func (r *Receiver) ParseReport(name string) (*Report, error) + type Report struct + Values []Value + type ReportSender interface + Send func(Report) error + type Reporter interface + Report func(domain string, values ...Value) error + func NewReporter(file io.ReadWriter, bins, values int, country string, burst time.Duration, ...) (Reporter, error) + type Value struct + func NewValue(v string) (Value, error) + func (v Value) String() string