cli

package
v0.8.0-1 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2018 License: GPL-3.0 Imports: 10 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,
	}
)

Functions

func HandleSignals

func HandleSignals(s *server.Server)

Types

type CmdOptions

type CmdOptions struct {
	Binding          string
	Environment      string
	ConfigDirectory  string
	LogLevel         string
	StorageDirectory string
	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