Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
ListenAddr string `default:":8080" help:"port to listen on"`
}
Config defines the configuration for the longform server.
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server defines the necessary components to host the longform server.
func (*Server) ServeStatic ¶
ServeStatic will serve the requested static asset if possible. If served, will return true.
Click to show internal directories.
Click to hide internal directories.