Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JSONSerializer ¶
type JSONSerializer struct {
// contains filtered or unexported fields
}
func New ¶
func New(prettyPrint bool) *JSONSerializer
func (*JSONSerializer) Counter ¶
func (js *JSONSerializer) Counter(m *measurements.Counter) ([]byte, error)
func (*JSONSerializer) Gauge ¶
func (js *JSONSerializer) Gauge(m *measurements.Gauge) ([]byte, error)
func (*JSONSerializer) Poly ¶
func (js *JSONSerializer) Poly(m *measurements.Poly) ([]byte, error)
func (*JSONSerializer) Timer ¶
func (js *JSONSerializer) Timer(m *measurements.Timer) ([]byte, error)
Click to show internal directories.
Click to hide internal directories.