package
2.19.0+incompatible
Repository: https://github.com/onsdigital/dp-api-router.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

NewAPIProxy creates a new APIProxy with a new ReverseProxy for the provided target.
NewAPIProxyWithOptions creates a new APIProxy with a new ReverseProxy for the provided target that accepts optional parameters.

# Variables

NewSingleHostReverseProxy is a function that creates a new httputil ReverseProxy, with default transport.
NewSingleHostReverseProxyWithTransport is a function that creates a new httputil ReverseProxy, with the supplied transport.

# Structs

APIProxy will forward any requests to an API.
Options is a struct that allows optional parameters to be supplied when initialising an API proxy.

# Interfaces

IReverseProxy represens the required methods from httputils.ReverseProxy.