Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Port int
TLSCert string
TLSKey string
HostKeyPath string
SSHPort int
Logger *slog.Logger
Extenders []MuxExtender
ExtraHandlers map[string]http.Handler
}
Config holds HTTP server configuration.
type MuxExtender ¶
MuxExtender can register additional handlers on the HTTP mux.
Click to show internal directories.
Click to hide internal directories.