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
Click to show internal directories.
Click to hide internal directories.