package
0.0.0-20241216201159-46e4ef8c5872
Repository: https://github.com/thehackerdev/cartograph.git
Documentation: pkg.go.dev
# Functions
BodyAllowedForStatus reports whether a given response status code permits a body.
DecodeBrotli returns a decoded version of the given brotli-encoded contents.
DecodeDeflate returns a decoded version of the given deflate-encoded contents.
DecodeGzip returns a decoded version of the given gzip-encoded contents.
NewCertificateManager returns a new CertificateManager object.
ReadBody safely reads the HTTP request or response body, returning a byte slice of the body contents, a copy of the body (to add back into the body), and an error, if any.
# Structs
CertificateManager is a struct that manages TLS certificates generated on the fly.