command

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: May 22, 2014 License: Apache-2.0 Imports: 14 Imported by: 10

Documentation

Index

Constants

View Source
const METRICS_POST_BUFFER_SIZE = 30 // max numbers of requests stored in buffer queue.
View Source
const METRICS_POST_DEQUEUE_DELAY = 30 * time.Second // delay for dequeuing from buffer queue
View Source
const METRICS_POST_RETRY_DELAY = 1 * time.Minute // delay for retring a request that causes errors
View Source
const METRICS_POST_RETRY_MAX = 10 // max numbers of retries for a request that causes errors

Variables

This section is empty.

Functions

func IdFilePath added in v0.6.1

func IdFilePath(root string) string

func LoadHostId added in v0.6.1

func LoadHostId(root string) (string, error)

func Run

func Run(conf config.Config)

func SaveHostId added in v0.6.1

func SaveHostId(root string, id string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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