package
0.0.0-20241209130541-ac44c596f546
Repository: https://github.com/discuitnet/discuit.git
Documentation: pkg.go.dev

# Functions

AcceptEncoding returns true if h contains encoding in an Accept-Encoding HTTP header.
ExtractOpenGraphImage returns the Open Graph image tag of the HTML document in r.
ExtractOGTItle returns the Open Graph title tag found in the HTML document in r.
FileServer is like http.FileServer except if name.gz file is found, it's assumed to be gzipped, and is served instead without the .gz suffix (if all appropriate request headers are present).
Get fetches the file at url with an ordinary looking User-Agent.
GetIP returns the IP address associated with r.
No description provided by the author
No description provided by the author