daemon

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2018 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RecommendedDialTimeout = 1 * time.Second
)
View Source
const RegistrationSupported = false

Variables

This section is empty.

Functions

func DialTimeout

func DialTimeout(timeout time.Duration) (net.Conn, error)

func NewListener

func NewListener() (net.Listener, error)

func Register

func Register() error

func RegisteredStart

func RegisteredStart() (bool, error)

func RegisteredStop

func RegisteredStop() (bool, error)

func StartStopAllowed

func StartStopAllowed() (bool, error)

func Unregister

func Unregister() error

Types

type Lock

type Lock struct {
	// contains filtered or unexported fields
}

func AcquireLock

func AcquireLock() (*Lock, error)

func (*Lock) Unlock

func (l *Lock) Unlock() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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