Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Logger = logging.SetupLogging()
Functions ¶
func NewReverseProxy ¶
func NewReverseProxy(targetURL string, cacheManager cache.CacheManager) *httputil.ReverseProxy
NewReverseProxy creates and configures a reverse proxy.
Types ¶
type Transport ¶
type Transport struct { RoundTripper http.RoundTripper CacheManager cache.CacheManager }
Transport extends the http.RoundTripper interface with caching logic.
Click to show internal directories.
Click to hide internal directories.