publish

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 30, 2020 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(p Publisher)

func Publish

func Publish(metrics []*schema.MetricData) error

Types

type Publisher

type Publisher interface {
	//Publish the given metrics.
	//Requires that the metric interval and ID have been set
	Publish(metrics []*schema.MetricData) error
	//Type returns the type of system the Publisher publishes to
	Type() string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL