gohai

package
v0.0.0-...-cd47023 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2018 License: BSD-3-Clause Imports: 8 Imported by: 0

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