Documentation
¶
Index ¶
Constants ¶
View Source
const StatusClientClosed = 499
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 *layer.LayerGroup, auth authentication.Authentication, reloadPtr *func(*config.Config, *layer.LayerGroup, authentication.Authentication) error) error
Types ¶
type CheckResult ¶ added in v0.8.0
type CheckResult struct {
// contains filtered or unexported fields
}
type MultiHandler ¶ added in v0.6.0
type MultiHandler struct {
// contains filtered or unexported fields
}
Simple slog.Handler that sends all requests to children handlers
Click to show internal directories.
Click to hide internal directories.