api

package
v0.1.1-0...-9c443ec Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClient

func NewClient(conf *config.Config) (*mackerel.Client, error)

NewClient initialize and return Mackerel API Client

Types

type Client

type Client interface {
	PostServiceMetricValues(serviceName string, metricValues []*mackerel.MetricValue) error
}

Client represents a client of Mackerel API

Jump to

Keyboard shortcuts

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