template/template.go
func AlertTemplateData(labels map[string]string, externalLabels map[string]string, value float64) interface{} {
	return struct {
		Labels         map[string]string
		ExternalLabels map[string]string
		Value          float64
	}{
		Labels:         labels,
		ExternalLabels: externalLabels,
		Value:          value,
	}
}
func AlertTemplateData(labels map[string]string, externalLabels map[string]string, value float64) interface{} {
	return struct {
		Labels         map[string]string
		ExternalLabels map[string]string
		Value          float64
	}{
		Labels:         labels,
		ExternalLabels: externalLabels,
		Value:          value,
	}
}
func AlertTemplateData ( labels map [ string ] string , externalLabels map [ string ] string , value float64 ) interface { } { return struct { Labels map [ string ] string ExternalLabels map [ string ] string Value float64 } { Labels : labels , ExternalLabels : externalLabels , Value : value , } }
// AlertTemplateData returns the interface to be used in expanding the template.
AlertTemplateData returns the interface to be used in expanding the template .