package
1.0.0
Repository: https://github.com/daohoangson/go-sitemirror.git
Documentation: pkg.go.dev

# Functions

FsCreate works similar to os.Create.
FsReadFile works similar to os.ReadFile.
Logger returns an instance of logger.
NewCSSResponder returns a new responder with css content type.
NewFs returns an in memory file system.
NewHTMLMarkup returns html wraps around given body mark up.
NewHTMLResponder returns a new responder with html content type.
NewRedirectResponder returns a new responder with Location header.
NewSlowResponder returns a new responder that takes its time to respond.

# Constants

InvalidURL an invalid url as in RFC 6874 Source: https://golang.org/src/net/url/url_test.go.
TransparentDataURI a valid data uri for (probably) the smallest transparent gif Source: http://stackoverflow.com/questions/6018611/smallest-data-uri-image-possible-for-a-transparent-image.