Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrorHashingFailed is returned if the hashing of the provided path fails ErrorHashingFailed = errors.New("hhashing the provided path failed") )
Functions ¶
func GenerateZBase32RandomPath ¶
GenerateZBase32RandomPath generates a file path for Human ease using z-base-32
func HashForPath ¶
HashForPath generates a hash used to store the file so that the user-generated path is not stored or used
func StatusCoder ¶
func StatusCoder(h http.HandlerFunc) http.HandlerFunc
StatusCoder logs status code of request after it completes
func WriteFaviconPNG ¶
func WriteFaviconPNG(w http.ResponseWriter)
WriteFaviconPNG writes favIcon PNG bytes to the supplised ResponseWriter
Types ¶
Click to show internal directories.
Click to hide internal directories.