package
0.1.0
Repository: https://github.com/vhodges/stitcherd.git
Documentation: pkg.go.dev

# Functions

ContentHandler uses the Source to render content.
InitCache sets up the cache service.
ParseHostHCL will parse file content into valid Host.
ReadHostHCL will load and parse a file containing hcl that defines a host.
RunServer serves up sites specified in hosts.
WaitForSignal blocks until SIGINT arrives.

# Structs

Content is a piece of content representing a page or portion of a page.
ContentContextValue is passed via Context.WithValue() to the endpoint Getter Func.
FileFetcher is a type of Fetcher that loads content from a file.
Host represents a single VHOSTed site.
RenderedTemplateFetcher Parses and executes a Go template pulling data from JSONURL (if not empty).
Replacement replaces content at At with Content.
Route returns content for a given path.
Static is for defining static file routes.
StringFetcher is a type of Fetcher that loads content from a string.
URIFetcher is a fetcher from the network (typically http(s)).

# Interfaces

DocumentFetcher are something that retrieves content.