watcher

package
Version: v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Watch

func Watch(s *storage.Storage)

Watch function.

Types

type CPU

type CPU struct{}

CPU watcher.

func (CPU) Watch

func (CPU) Watch(s *storage.Storage, index int, channel chan int)

Watch function.

type Disk

type Disk struct{}

Disk watcher.

func (Disk) Watch

func (Disk) Watch(s *storage.Storage, index int, channel chan int)

Watch function.

type Memory

type Memory struct{}

Memory watcher.

func (Memory) Watch

func (Memory) Watch(s *storage.Storage, index int, channel chan int)

Watch function.

type Watcher

type Watcher interface {
	Watch(s *storage.Storage, index int, channel chan int)
}

Watcher interface.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL