mirror of
https://github.com/bcicen/ctop.git
synced 2025-12-06 15:16:41 +08:00
return static error on unimplemented manager actions
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
package manager
|
||||
|
||||
import "errors"
|
||||
|
||||
var ActionNotImplErr = errors.New("action not implemented")
|
||||
|
||||
type Manager interface {
|
||||
Start() error
|
||||
Stop() error
|
||||
|
||||
Reference in New Issue
Block a user