gohai

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2017 License: BSD-3-Clause Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetMetadata

func GetMetadata() map[string]interface{}

GetMetadata collects system information of cpu, filesystem, memory, network and platform.

func GetProcesses

func GetProcesses() []interface{}

GetProcesses gets the processes list.

Types

type Collector

type Collector interface {
	Name() string
	Collect() (interface{}, error)
}

Collector XXX

Jump to

Keyboard shortcuts

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