Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Float ¶
type Float struct {
// contains filtered or unexported fields
}
Float is a 64-bit float variable that satisfies the Var interface.
type Func ¶
type Func func() interface{}
Func implements Var by calling the function and formatting the returned value using JSON.
type Int ¶
type Int struct {
// contains filtered or unexported fields
}
Int is a 64-bit integer variable that satisfies the Var interface.
type Map ¶
type Map struct {
// contains filtered or unexported fields
}
Map is a string-to-Var map variable that satisfies the Var interface.
type MetricServer ¶
type MetricServer struct {
// contains filtered or unexported fields
}
func NewMetricServer ¶
func NewMetricServer(addr, path string) *MetricServer
func (*MetricServer) Start ¶
func (s *MetricServer) Start() error
type String ¶
type String struct {
// contains filtered or unexported fields
}
String is a string variable, and satisfies the Var interface.
Click to show internal directories.
Click to hide internal directories.