Skip to content

tabalt/pidfile

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pidfile

Golang package for create and clear pid file.

Version

V1.1.0

Useage

package main

import (
    "github.com/tabalt/pidfile"
)

func main() {
    pf, _ := pidfile.Create("./tmp/app.pid")
    defer func() {
        _ = pf.Clear()
    }()

    //...

}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages