server

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2024 License: MPL-2.0 Imports: 30 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.Command
	// contains filtered or unexported fields
}

func (*Command) Flags

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

func (*Command) Help

func (c *Command) Help() string

func (*Command) Run

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

func (*Command) ShutdownServer

func (c *Command) ShutdownServer(s *http.Server) func()

ShutdownServer gracefully shuts down the HTTP server.

func (*Command) Synopsis

func (c *Command) Synopsis() string

Jump to

Keyboard shortcuts

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