Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for NewForwarder (0.05 sec)

  1. internal/handlers/forwarder.go

    	Logger       func(error)
    	ErrorHandler func(http.ResponseWriter, *http.Request, error)
    
    	// internal variables
    	rewriter *headerRewriter
    }
    
    // NewForwarder creates an instance of Forwarder based on the provided list of configuration options
    func NewForwarder(f *Forwarder) *Forwarder {
    	f.rewriter = &headerRewriter{}
    	if f.RoundTripper == nil {
    		f.RoundTripper = http.DefaultTransport
    	}
    
    	return f
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 07 05:42:10 UTC 2023
    - 5.6K bytes
    - Viewed (0)
Back to top