Documentation ¶
Index ¶
- Constants
- func GetUIHandler() http.Handler
- func GetUISanitizer(handler http.HandlerFunc) http.HandlerFunc
- func NewProxy(dialer func(context.Context, string, string) (net.Conn, error), ...) *httputil.ReverseProxy
- func OOBDialer(n proto.Netopus) func(context.Context, string, string) (net.Conn, error)
- func OOBDirector(req *http.Request)
- func PlaygroundHandler(w http.ResponseWriter, req *http.Request)
- func UnixSocketDialer(socketFile string) func(ctx context.Context, network, addr string) (net.Conn, error)
- func UnixSocketDirector(req *http.Request)
Constants ¶
View Source
const ProxyPortNo = 277
Variables ¶
This section is empty.
Functions ¶
func GetUIHandler ¶
func GetUISanitizer ¶
func GetUISanitizer(handler http.HandlerFunc) http.HandlerFunc
GetUISanitizer removes sensitive values from a request, to ensure clients can't do shenanigans with them
func OOBDirector ¶
func PlaygroundHandler ¶
func PlaygroundHandler(w http.ResponseWriter, req *http.Request)
func UnixSocketDialer ¶
func UnixSocketDirector ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.