# Functions
NewGenerateRouter returns a new instance of GenerateRouter.
NewResponse returns a new instance of Response.
NewWebRouter returns a new instance of WebRouter.
RunFileServer hosts the files of targetDir into given port with the log.
# Constants
RootURL is the URL of the Root of the router.
# Structs
GenerateRequester makes requests on the GenerateRouter.
GenerateRouter generates static files, note that ContentType is respected by the router's Response struct, by default via calling mime.TypeByExtension (Go std lib) on the route pattern or setting it via Context.
Response given by all routers.
WebRequester makes requests on the WebRouter.
WebRouter is the router to host a web application server.
# Type aliases
AroundHandler is the handler for Router callbacks.
ContextHandler is the handler for Router routes.