package
0.0.15
Repository: https://github.com/sarumaj/kagi-proxy.git
Documentation: pkg.go.dev

# Functions

CompressResponseBody compresses the response body using the appropriate compression algorithm.
DecompressResponseBody decompresses the response body using the appropriate decompression algorithm.
InjectJsScript injects a JavaScript script into the HTML response body.
LookupIP looks up the IP address using the IP2Location API (https://www.ip2location.io/).
ModifyCSP modifies the Content-Security-Policy header to allow the proxy scripts.
SessionSave saves the session and handles any errors that occur.
SetContentSecurityHeaders sets the Content-Security-Policy, X-Frame-Options, and X-Content-Type-Options headers.

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author