# Functions
This returns the HTML for generic errors.
This returns the HTML for a page listing disambiguation optionsi.e.
This returns the HTML for a 404 Not Found error.
No description provided by the author
ShowError is used to show an HTML error page to a client.If there is an `Accept` header of `application/json`, JSON will be returned insteadThe function just takes a string message which will be displayed in the error page.The code is used to evaluate which template will be displayed(and return the correct HTTP status code).
ShowMultipeChoices is used when a user requests a resource in a manifest which resultsin ambiguous results.
starts up http server.
ValidateCaseErrors is a method that process the request object through certain validatorsthat assert if certain conditions are met for further information to log as an error.
# Structs
a custom error case struct that would be used to store validators andadditional error info to display with client responses.
parameters needed for formatting the correct HTML page.
Request wraps http.Request and also includes the parsed bzz URI.
No description provided by the author
No description provided by the author
ServerConfig is the basic configuration needed for the HTTP server and also includes CORS settings.