diff options
author | Valery Piashchynski <[email protected]> | 2021-08-17 23:27:37 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2021-08-17 23:27:37 +0300 |
commit | 65a70f5d15fb0a1b1f787ff7f06b3a299dab0f96 (patch) | |
tree | c6c3e8f4b5952c4e389804da38fea0e03b2cd111 /plugins/resetter/interface.go | |
parent | 064d375e3671135226cb3bc70be057339b23f26f (diff) |
Update Resetter plugin, remove old and unused code
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'plugins/resetter/interface.go')
-rw-r--r-- | plugins/resetter/interface.go | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/plugins/resetter/interface.go b/plugins/resetter/interface.go index 47d8d791..0defcaba 100644 --- a/plugins/resetter/interface.go +++ b/plugins/resetter/interface.go @@ -1,17 +1,7 @@ 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 +// Resetter interface type Resetter interface { - // Reset all registered plugins - ResetAll() error - // Reset by plugin name - ResetByName(string) error - // GetAll registered plugins - GetAll() []string + // Reset reload plugin + Reset() error } |