blob: 47d8d7912e7b0c9017ee99e497983a8160446f66 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
package resetter
// If plugin implements Resettable interface, than it state can be resetted without reload in runtime via RPC/HTTP
type Resettable interface {
// Reset reload all plugins
Reset() error
}
// Resetter interface is the Resetter plugin main interface
type Resetter interface {
// Reset all registered plugins
ResetAll() error
// Reset by plugin name
ResetByName(string) error
// GetAll registered plugins
GetAll() []string
}
|