daemontools

package module
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2022 License: MIT Imports: 7 Imported by: 0

README

go-daemontools

Build Status GoDoc GitHub release

Go library for managing daemontools (svc, svstat)

go install github.com/jehiah/go-daemontools/cmd/svstat@latest

https://cr.yp.to/daemontools.html

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Error added in v1.1.0

type Error struct {
	Msg string
	Err error
}

func (Error) Error added in v1.1.0

func (e Error) Error() string

type Status

type Status struct {
	Service    string
	PID        int
	Paused     bool
	Want       byte
	When       time.Time
	NormallyUp bool
}

func Svstat

func Svstat(service string) (s *Status, err error)

func (*Status) String

func (s *Status) String() (o string)

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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