types/types.go
package types
/*VarLabel maps key value prometheus labes*/
type VarLabel struct {
Key string
Value string
}
/*Counter maps a squid conters */
type Counter struct {
Key string
Value float64
VarLabels []VarLabel
}
/*Counters is a list of multiple squid counters */
type Counters []Counter