server

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2021 License: MPL-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Command

type Command struct {
	*base.Server

	ExtShutdownCh chan struct{}
	SighupCh      chan struct{}
	ReloadedCh    chan struct{}
	SigUSR2Ch     chan struct{}

	Config *config.Config
	// contains filtered or unexported fields
}

func (*Command) AutocompleteArgs

func (c *Command) AutocompleteArgs() complete.Predictor

func (*Command) AutocompleteFlags

func (c *Command) AutocompleteFlags() complete.Flags

func (*Command) Flags

func (c *Command) Flags() *base.FlagSets

func (*Command) Help

func (c *Command) Help() string

func (*Command) ParseFlagsAndConfig

func (c *Command) ParseFlagsAndConfig(args []string) int

func (*Command) Reload

func (c *Command) Reload() error

func (*Command) Run

func (c *Command) Run(args []string) int

func (*Command) StartController

func (c *Command) StartController() error

func (*Command) StartWorker

func (c *Command) StartWorker() error

func (*Command) Synopsis

func (c *Command) Synopsis() string

func (*Command) WaitForInterrupt

func (c *Command) WaitForInterrupt() int

Jump to

Keyboard shortcuts

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