server

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2024 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TypeOfErrorBounds = iota
	TypeOfErrorAuth
	TypeOfErrorProvider
	TypeOfErrorOtherBadRequest
	TypeOfErrorOther
)

Variables

View Source
var InterruptFlags = []os.Signal{os.Interrupt}

This is just here to allow tests to specify a different signal to send to kill the webserver not useful in practice due to OS-specific nature of signals

Functions

func ListenAndServe

func ListenAndServe(config *config.Config, layerGroup *layers.LayerGroup, auth authentication.Authentication) error

Types

type TypeOfError

type TypeOfError int

Jump to

Keyboard shortcuts

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