stats

package
v0.0.0-...-585c797 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2015 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FrequencyMin = time.Second * 10
)

Variables

This section is empty.

Functions

This section is empty.

Types

type DiskStats

type DiskStats struct {
	sync.Mutex
	// contains filtered or unexported fields
}

func NewDiskStats

func NewDiskStats(frequency time.Duration) *DiskStats

func (*DiskStats) Collect

func (d *DiskStats) Collect()

func (*DiskStats) CollectStop

func (d *DiskStats) CollectStop()

func (*DiskStats) Get

func (d *DiskStats) Get(dev string) *api.Stats

Jump to

Keyboard shortcuts

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