monitor

package
v1.0.10 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2021 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const STATUS_RUN = "run"
View Source
const STATUS_STOP = "stop"

Variables

This section is empty.

Functions

This section is empty.

Types

type Monitor

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

func NewMonitor

func NewMonitor() (m *Monitor, err error)

func (*Monitor) Run

func (m *Monitor) Run(ctx context.Context) (err error)

func (*Monitor) Stop

func (m *Monitor) Stop(ctx context.Context)

Jump to

Keyboard shortcuts

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