initial import
This commit is contained in:
14
core/proc/stopper.go
Normal file
14
core/proc/stopper.go
Normal file
@@ -0,0 +1,14 @@
|
||||
package proc
|
||||
|
||||
var noopStopper nilStopper
|
||||
|
||||
type (
|
||||
Stopper interface {
|
||||
Stop()
|
||||
}
|
||||
|
||||
nilStopper struct{}
|
||||
)
|
||||
|
||||
func (ns nilStopper) Stop() {
|
||||
}
|
||||
Reference in New Issue
Block a user