manager

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	AutoRemove bool
}

type Manager

type Manager interface {
	Add(id string, config *core.Config) bool
	Remove(id string) bool
	RemoveAll() []string
	Batch(map[string]*core.Config) (added, removed []string)
	Get(id string) core.Monitor
	Map() map[string]core.Monitor
}

func NewManager

func NewManager(config *Config) Manager

Jump to

Keyboard shortcuts

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