Documentation
¶
Overview ¶
package server contains the implementation for an http server that watches for changes in the provided directory.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ServerCommand = &cli.Command{ Name: "server", Aliases: []string{"start", "serve"}, Usage: "starts the server", UsageText: "starts the development server at the provided port", Description: strings.Join( []string{ "instantiates a filesystem watcher and serves ", "a website with pages for each markdown file.", }, "\n", ), ArgsUsage: "[config]", Flags: config.MergeFlags( &cli.IntFlag{ Name: "port", Aliases: []string{"p", "addr"}, Required: false, }, true), Action: Run, }
View Source
var (
ServerLogger *log.Logger
)
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.