web

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2018 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Respond

func Respond(w http.ResponseWriter, data interface{}, code int)

func Run

func Run(service *core.Service, port int, disableBrand bool)

Types

type Config

type Config struct {
	// contains filtered or unexported fields
}

type Metric

type Metric struct {
	Timestamp int
	Metric    string
	Value     float64
	Tags      map[string]string
}

Jump to

Keyboard shortcuts

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