Documentation ¶ Index ¶ func Watch(s *storage.Storage) type CPU func (CPU) Watch(s *storage.Storage, index int, channel chan int) type Disk func (Disk) Watch(s *storage.Storage, index int, channel chan int) type Memory func (Memory) Watch(s *storage.Storage, index int, channel chan int) type Watcher 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. Source Files ¶ View all Source files cpu.go disk.go memory.go watcher.go Click to show internal directories. Click to hide internal directories.