Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StopControl ¶
type StopControl struct {
// contains filtered or unexported fields
}
StopControl allows for any instance to thread-safely check if the status is stopping or not
func New ¶
func New() *StopControl
func (*StopControl) Done ¶
func (s *StopControl) Done() chan interface{}
func (*StopControl) IsStopping ¶
func (s *StopControl) IsStopping() bool
func (*StopControl) Stop ¶
func (s *StopControl) Stop()
Click to show internal directories.
Click to hide internal directories.