info

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2018 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppendComponent

func AppendComponent(i map[string]interface{})

AppendComponent to the info.

func ImportDoc

func ImportDoc(file string) error

ImportDoc adds documentation from a markdown file.

func Marshal

func Marshal() ([]byte, error)

Marshal returns the service info as a byte slice.

func UpdateHost

func UpdateHost(h string)

UpdateHost to the info.

func UpdateName

func UpdateName(n string)

UpdateName to the info.

func UpdateVersion

func UpdateVersion(v string)

UpdateVersion to the info.

func UpsertConfig

func UpsertConfig(n string, v interface{})

UpsertConfig to the info.

func UpsertMetric

func UpsertMetric(n, d, typ string)

UpsertMetric to the info.

Types

This section is empty.

Jump to

Keyboard shortcuts

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