notify

package module
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2020 License: MIT Imports: 3 Imported by: 9

README

notify

Build Status Go Report Card GoDoc GitHub license gocover.io

On system signal callback for golang

License

Pouch is licensed under the MIT License. See LICENSE for the full license text.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func On

func On(signal os.Signal, fun func()) func()

On system signal callback.

func OnSlice added in v0.0.5

func OnSlice(signals []os.Signal, fun func()) func()

OnSlice system signal callback.

func Once added in v0.0.2

func Once(signal os.Signal, fun func())

Once system signal callback.

func OnceSlice added in v0.0.5

func OnceSlice(signals []os.Signal, fun func())

OnceSlice system signal callback.

Types

This section is empty.

Jump to

Keyboard shortcuts

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