monitor

package
v74.0.2+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2017 License: Apache-2.0, BSD-3-Clause, MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LinuxFileDescriptor

type LinuxFileDescriptor struct {
	// contains filtered or unexported fields
}

func NewLinuxFD

func NewLinuxFD(interval time.Duration) *LinuxFileDescriptor

func (*LinuxFileDescriptor) Start

func (l *LinuxFileDescriptor) Start()

func (*LinuxFileDescriptor) Stop

func (l *LinuxFileDescriptor) Stop()

type Monitor

type Monitor interface {
	Start()
	Stop()
}

type Uptime

type Uptime struct {
	// contains filtered or unexported fields
}

func NewUptime

func NewUptime(interval time.Duration) *Uptime

func (*Uptime) Start

func (u *Uptime) Start()

func (*Uptime) Stop

func (u *Uptime) Stop()

Jump to

Keyboard shortcuts

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