signals

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: May 9, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StopChan

type StopChan struct {
	// contains filtered or unexported fields
}

func SetupSignalHandler

func SetupSignalHandler(logger log.Logger) (stopCh *StopChan)

func (*StopChan) Add

func (s *StopChan) Add(delta int)

func (*StopChan) AddRequest

func (s *StopChan) AddRequest(delta int)

func (*StopChan) Channel

func (s *StopChan) Channel() <-chan struct{}

func (*StopChan) Done

func (s *StopChan) Done()

func (*StopChan) DoneRequest

func (s *StopChan) DoneRequest()

func (*StopChan) Wait

func (s *StopChan) Wait()

func (*StopChan) WaitRequest

func (s *StopChan) WaitRequest()

Jump to

Keyboard shortcuts

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