Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoRedirects = fmt.Errorf("No redirects")
Used to stop following redirects with the default http.Client
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct { }
Handler is the type resposible for implementing the RequestHandler interface in this proxy module.
func (*Handler) RequestHandle ¶
func (ph *Handler) RequestHandle(ctx context.Context, writer http.ResponseWriter, req *http.Request, vh *types.VirtualHost)
RequestHandle is the main serving function
Click to show internal directories.
Click to hide internal directories.