manager

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2024 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