Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ConsoleBackend ¶
type ConsoleBackend struct {
// contains filtered or unexported fields
}
ConsoleBackend is a backend which prints to the console or any output stream
func NewConsole ¶
func NewConsole(out io.Writer) *ConsoleBackend
NewConsole creates a new console backend
func (*ConsoleBackend) Gauge ¶
func (b *ConsoleBackend) Gauge(name string, value float64)
func (*ConsoleBackend) Name ¶
func (b *ConsoleBackend) Name() string
func (*ConsoleBackend) Start ¶
func (b *ConsoleBackend) Start() error
func (*ConsoleBackend) Stop ¶
func (b *ConsoleBackend) Stop() error
type LibratoBackend ¶
type LibratoBackend struct {
// contains filtered or unexported fields
}
LibratoBackend is a backend which sends analytics to Librato
func NewLibrato ¶
func (*LibratoBackend) Gauge ¶
func (b *LibratoBackend) Gauge(name string, value float64)
func (*LibratoBackend) Name ¶
func (b *LibratoBackend) Name() string
func (*LibratoBackend) Start ¶
func (b *LibratoBackend) Start() error
func (*LibratoBackend) Stop ¶
func (b *LibratoBackend) Stop() error
Click to show internal directories.
Click to hide internal directories.