server

package
v0.10.4 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2022 License: MPL-2.0 Imports: 34 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

	SighupCh  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(newConf *config.Config) error

func (*Command) Run

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

func (*Command) StartController

func (c *Command) StartController(ctx context.Context) 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