daemon

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2019 License: BSD-3-Clause Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(debug bool, services ...mantra.Service)

New defines a new daemon

func Start

func Start(c Config)

Start starts a new daemon

func Stop

func Stop()

func TestConn

func TestConn() error

Types

type Config

type Config struct {
	Command string
	// contains filtered or unexported fields
}

type Daemon

type Daemon interface {
	mantra.Service
}

Daemon is a process running in the background

Jump to

Keyboard shortcuts

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