github.com/wtfutil/wtf@v0.43.0/wtf/enablable.go (about)

     1  package wtf
     2  
     3  // Enablable is the interface that enforces enable/disable capabilities on a module
     4  type Enablable interface {
     5  	Disable()
     6  	Disabled() bool
     7  	Enabled() bool
     8  }