signalset

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2019 License: MIT 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