Directories
¶
| Path | Synopsis |
|---|---|
|
Package cache provides a size-bounded in-memory LRU cache for static files.
|
Package cache provides a size-bounded in-memory LRU cache for static files. |
|
Package compress provides HTTP response compression middleware and utilities.
|
Package compress provides HTTP response compression middleware and utilities. |
|
Package config provides configuration loading for the static web server.
|
Package config provides configuration loading for the static web server. |
|
Package defaults embeds the built-in static assets (index.html, 404.html, style.css) that ship with the binary.
|
Package defaults embeds the built-in static assets (index.html, 404.html, style.css) that ship with the binary. |
|
Package handler provides the core HTTP file-serving handler and middleware composition for the static web server.
|
Package handler provides the core HTTP file-serving handler and middleware composition for the static web server. |
|
Package headers provides HTTP caching and response header middleware.
|
Package headers provides HTTP caching and response header middleware. |
|
Package security provides path safety checks and HTTP security middleware for the static web server.
|
Package security provides path safety checks and HTTP security middleware for the static web server. |
|
Package server provides an HTTP/HTTPS server with graceful shutdown support.
|
Package server provides an HTTP/HTTPS server with graceful shutdown support. |
|
Package version holds build-time version information injected via -ldflags.
|
Package version holds build-time version information injected via -ldflags. |
Click to show internal directories.
Click to hide internal directories.