servers

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2024 License: AGPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrTimeout = errors.New("timeout waiting for server ports to open")
)

Functions

func Init

func Init(opts *options.Datum)

func StartHTTP

func StartHTTP(fatalErrChan chan<- error)

StartHTTP sets the HTTP web server running

func StartHTTPS

func StartHTTPS(fatalErrChan chan<- error)

StartHTTPS sets the HTTPS web server running

func StopHTTP

func StopHTTP(restart bool) error

StopHTTP shuts down the HTTP web server

func StopHTTPS

func StopHTTPS(restart bool) error

StopHTTPS shuts down the HTTPS web server

func WaitForOpenPorts

func WaitForOpenPorts() error

WaitForOpenPorts makes sure that the web server ports are not currently in use

Types

This section is empty.

Jump to

Keyboard shortcuts

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