resetter

package
v2.0.0-alpha25 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2020 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Resettable

type Resettable interface {
	// Reset reload all plugins
	Reset() error
}

If plugin implements Resettable interface, than it state can be resetted without reload in runtime via RPC/HTTP

type Resetter

type Resetter interface {
	// Reset all registered plugins
	ResetAll() error
	// Reset by plugin name
	ResetByName(string) error
	// GetAll registered plugins
	GetAll() []string
}

Resetter interface is the Resetter plugin main interface

Jump to

Keyboard shortcuts

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