stopcontrol

package
v0.28.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 8, 2024 License: AGPL-3.0 Imports: 2 Imported by: 0

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()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL