cli

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2017 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Term os.Signal = syscall.SIGTERM
	Hup  os.Signal = syscall.SIGHUP

	SignalHandlers = map[os.Signal]func(*server.Server){
		Term:         exit,
		os.Interrupt: exit,
	}
)
View Source
var (
	StartupInfo = func() {
		log.Println(faktory.Licensing)
	}
)

Functions

func HandleSignals

func HandleSignals(s *server.Server)

Types

type CmdOptions

type CmdOptions struct {
	Binding          string
	Environment      string
	ConfigDirectory  string
	LogLevel         string
	StorageDirectory string
	DisableTls       bool
	Password         string
}

func ParseArguments

func ParseArguments() CmdOptions

Jump to

Keyboard shortcuts

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