monitoring

package module
v0.0.0-...-bcd875d Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2015 License: MIT Imports: 9 Imported by: 0

README

Monitoring

Build Status Coverage Status License MIT

A simple system monitoring package for go

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMonitoringData

func NewMonitoringData(updateTime time.Duration) (monitorData *monitoringData, err error)

NewMonitoringData creates and fill a monitoringData

Types

type MonitoringServer

type MonitoringServer struct {
	DataChannel chan *monitoringData
	UpdateTime  time.Duration
	// contains filtered or unexported fields
}

func NewMonitoringServer

func NewMonitoringServer(updateTime time.Duration) *MonitoringServer

func (*MonitoringServer) Start

func (self *MonitoringServer) Start()

Stop the monitoring server

func (*MonitoringServer) Stop

func (self *MonitoringServer) Stop()

Stop the monitoring server

Jump to

Keyboard shortcuts

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