An open API service indexing awesome lists of open source software.

https://github.com/karpeleslab/gosd

golang utils for handling sd api (notify socket, etc)
https://github.com/karpeleslab/gosd

Last synced: 12 months ago
JSON representation

golang utils for handling sd api (notify socket, etc)

Awesome Lists containing this project

README

          

[![GoDoc](https://godoc.org/github.com/KarpelesLab/gosd?status.svg)](https://godoc.org/github.com/KarpelesLab/gosd)

# gosd

Notify & stuff for go.

## Usage

```go
sd := gosd.New()

// once your daemon is ready:
sd.Ready()

// on shutdown
sd.Notify(gosd.StoppingState)
```