stop

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2019 License: GPL-2.0, GPL-2.0-or-later Imports: 11 Imported by: 3

Documentation

Overview

Package stop provides the named command that kills all of the daemons associated with this executable.

Index

Constants

View Source
const EtcGoesStop = "/etc/goes/stop"

Variables

This section is empty.

Functions

This section is empty.

Types

type Command

type Command struct {
	// Machines may use Hook to run something between the kill of all
	// daemons and the removal of the socks and pids directories.
	Hook func() error
	// contains filtered or unexported fields
}

func (*Command) Apropos

func (*Command) Apropos() lang.Alt

func (*Command) Goes

func (c *Command) Goes(g *goes.Goes)

func (*Command) Kind

func (c *Command) Kind() cmd.Kind

func (*Command) Main

func (c *Command) Main(args ...string) error

func (*Command) Man

func (*Command) Man() lang.Alt

func (*Command) String

func (*Command) String() string

func (*Command) Usage

func (*Command) Usage() string

Jump to

Keyboard shortcuts

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