Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CacheInterceptor ¶
type CacheInterceptor struct {
// contains filtered or unexported fields
}
func NewCacheInterceptor ¶
func (*CacheInterceptor) InterceptHandler ¶
func (ch *CacheInterceptor) InterceptHandler(next http.Handler) http.Handler
type ProxyResponseWriter ¶
type ProxyResponseWriter struct { http.ResponseWriter StatusCode int // contains filtered or unexported fields }
func NewProxyResponseWriter ¶
func NewProxyResponseWriter(w http.ResponseWriter) *ProxyResponseWriter
func (*ProxyResponseWriter) GetLocation ¶
func (pw *ProxyResponseWriter) GetLocation() string
func (*ProxyResponseWriter) WriteHeader ¶
func (pw *ProxyResponseWriter) WriteHeader(code int)
Proxy for getting status code of writer
Click to show internal directories.
Click to hide internal directories.