Documentation
¶
Overview ¶
Package server implements the mdv HTTP server: shell HTML, rendered fragments, live-reload SSE, embedded assets and guarded static files.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Root string
Quiet bool
Theme string // auto|light|dark
CustomCSS string // absolute path to a user stylesheet, or "" for none
WatchMode string // fsnotify|poll
Logger *log.Logger
}
Config configures a Server.
Click to show internal directories.
Click to hide internal directories.