Skip to content

xgdapg/daemon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Usage

package main

import "github.com/xgdapg/daemon"

func init() {
	daemon.Exec(daemon.Daemon) // send the process to the background
	daemon.Exec(daemon.Monitor) // keep the process running
	daemon.Exec(daemon.Daemon | daemon.Monitor) // both of the above
}

About

daemon package for golang

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages