quit

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2019 License: MIT, MIT Imports: 3 Imported by: 0

README

quit

This is a fork of the library quit for Aeridya

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add added in v1.0.2

func Add(f func())

AddQuit will add the function passed to the quits array

func Exit

func Exit()

Quit sends the signal to end the goroutine The quit() function will be run if the state == true blocks to completion

func Quit

func Quit()

Quit runs all quit functions

func Run

func Run(quit func(), restart func())

Run begins to listen to the signals and runs the functions passed to it. These should be the functions that shuts down your application, the other restarts it. Starts the run() goroutine

Types

This section is empty.

Jump to

Keyboard shortcuts

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