collector

package
v0.0.0-...-912c657 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2014 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(dryMode bool)

Run is the function that starts the collector. The dryMode parameter indicates whether the collector should loop forever or not.

It assumes the configuration has already been defined (from a config file or memory).

Types

type AppList

type AppList []*app.App

AppList is a list of apps. It's not thread safe.

func (*AppList) Add

func (l *AppList) Add(a *app.App, index int)

func (AppList) Search

func (l AppList) Search(name string) (*app.App, int)

Jump to

Keyboard shortcuts

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