Documentation ¶
Index ¶
- func CSSHandler(cacheMaxAge int) func(http.ResponseWriter, *http.Request)
- func ChatHomeHandler(cacheMaxAge int) func(http.ResponseWriter, *http.Request)
- func ChatSignInHandler(cacheMaxAge int) func(http.ResponseWriter, *http.Request)
- func ChatSignUpHandler(cacheMaxAge int) func(http.ResponseWriter, *http.Request)
- func ConstructionHandler(cacheMaxAge int) func(http.ResponseWriter, *http.Request)
- func DonateHandler(cacheMaxAge int) func(http.ResponseWriter, *http.Request)
- func HTMLHandler(cacheMaxAge int) func(http.ResponseWriter, *http.Request)
- func HallofArtHomeHandler(cacheMaxAge int) func(http.ResponseWriter, *http.Request)
- func HomeHandler(cacheMaxAge int) func(http.ResponseWriter, *http.Request)
- func ImageHandler(cacheMaxAge int) func(http.ResponseWriter, *http.Request)
- func ManifestHandler(cacheMaxAge int) func(http.ResponseWriter, *http.Request)
- func MiscFileHandler(cacheMaxAge int) func(http.ResponseWriter, *http.Request)
- func ModelHandler(cacheMaxAge int) func(http.ResponseWriter, *http.Request)
- func RedirectConstructionHandler() func(http.ResponseWriter, *http.Request)
- func RedirectHome() func(http.ResponseWriter, *http.Request)
- func ResumeHomeHandler(cacheMaxAge int) func(http.ResponseWriter, *http.Request)
- func ScriptsHandler(cacheMaxAge int) func(http.ResponseWriter, *http.Request)
- func ServiceWorkerHandler(cacheMaxAge int) func(http.ResponseWriter, *http.Request)
- func TunesHomeHandler(cacheMaxAge int) func(http.ResponseWriter, *http.Request)
- func TypeScriptHandler(cacheMaxAge int) func(http.ResponseWriter, *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CSSHandler ¶
func CSSHandler(cacheMaxAge int) func(http.ResponseWriter, *http.Request)
CSSHandler takes a script name and
func ChatHomeHandler ¶
func ChatHomeHandler(cacheMaxAge int) func(http.ResponseWriter, *http.Request)
ChatHomeHandler is the route for the chat home where users can get assigned unique identifiers
func ChatSignInHandler ¶
func ChatSignInHandler(cacheMaxAge int) func(http.ResponseWriter, *http.Request)
ChatSignInHandler connects to the database and signs a user in if they are in the database
func ChatSignUpHandler ¶
func ChatSignUpHandler(cacheMaxAge int) func(http.ResponseWriter, *http.Request)
ChatSignUpHandler connects to the database and creates a new id for a chat user
func ConstructionHandler ¶
func ConstructionHandler(cacheMaxAge int) func(http.ResponseWriter, *http.Request)
func DonateHandler ¶
func DonateHandler(cacheMaxAge int) func(http.ResponseWriter, *http.Request)
DonateHandler handles an incoming donation request and serves back a page or the crypto address as JSON
func HTMLHandler ¶
func HTMLHandler(cacheMaxAge int) func(http.ResponseWriter, *http.Request)
HTMLHandler takes a script name and
func HallofArtHomeHandler ¶
func HallofArtHomeHandler(cacheMaxAge int) func(http.ResponseWriter, *http.Request)
HallofArtHomeHandler takes a script name and
func HomeHandler ¶
func HomeHandler(cacheMaxAge int) func(http.ResponseWriter, *http.Request)
HomeHandler serves the home.html file
func ImageHandler ¶
func ImageHandler(cacheMaxAge int) func(http.ResponseWriter, *http.Request)
ImageHandler returns a HandleFunc to serve image files
func ManifestHandler ¶
func ManifestHandler(cacheMaxAge int) func(http.ResponseWriter, *http.Request)
ManifestHandler serves manifest.json
func MiscFileHandler ¶
func MiscFileHandler(cacheMaxAge int) func(http.ResponseWriter, *http.Request)
MiscFileHandler serves file requests
func ModelHandler ¶
func ModelHandler(cacheMaxAge int) func(http.ResponseWriter, *http.Request)
ModelHandler returns a HandleFunc to serve model files
func RedirectConstructionHandler ¶
func RedirectConstructionHandler() func(http.ResponseWriter, *http.Request)
RedirectConstructionHandler redirects to the {HOST}/under-construction url (construction handler) with a 307 (temporary moved) status
func RedirectHome ¶
func RedirectHome() func(http.ResponseWriter, *http.Request)
RedirectHome redirects to the {HOST}/home url with a 301 status
func ResumeHomeHandler ¶
func ResumeHomeHandler(cacheMaxAge int) func(http.ResponseWriter, *http.Request)
ResumeHomeHandler takes a script name and
func ScriptsHandler ¶
func ScriptsHandler(cacheMaxAge int) func(http.ResponseWriter, *http.Request)
ScriptsHandler takes a script name and
func ServiceWorkerHandler ¶
func ServiceWorkerHandler(cacheMaxAge int) func(http.ResponseWriter, *http.Request)
ServiceWorkerHandler serves serviceWorker.js
func TunesHomeHandler ¶
func TunesHomeHandler(cacheMaxAge int) func(http.ResponseWriter, *http.Request)
TunesHomeHandler takes a script name and
func TypeScriptHandler ¶
func TypeScriptHandler(cacheMaxAge int) func(http.ResponseWriter, *http.Request)
TypeScriptHandler takes a script name and returns a HandleFunc
Types ¶
This section is empty.