signalset

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2019 License: Apache-2.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 SignalHandler

type SignalHandler func(s os.Signal, v interface{})

type SignalSet

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

func New

func New() *SignalSet

func (*SignalSet) Handle

func (s *SignalSet) Handle(signal os.Signal, v interface{}) error

func (*SignalSet) Register

func (s *SignalSet) Register(signal os.Signal, handle SignalHandler)

Jump to

Keyboard shortcuts

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