package
module
Version:
v0.0.0-...-188e98d
Opens a new window with list of versions in this module.
Published: Nov 27, 2016
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 17
Opens a new window with list of known importers.
README
¶
stop
Helper for objects with Stop method
Documentation
¶
type Interface interface {
Start()
Stop()
}
type Struct struct {
sync.RWMutex
Go func(callable func(exit chan struct{}))
WithExit func(callable func(exit chan struct{}))
}
Struct is abstract class with Start/Stop methods
func (s *Struct) StopFunc(callable func())
StopFunc ...
Source Files
¶
Click to show internal directories.
Click to hide internal directories.