Documentation ¶
Index ¶
- type Proxy
- func (proxy *Proxy) PredictHandler(w http.ResponseWriter, req *http.Request)
- func (proxy *Proxy) ProxyStreams(w http.ResponseWriter, req *http.Request)
- func (proxy *Proxy) ServeHTTP(w http.ResponseWriter, req *http.Request)
- func (proxy *Proxy) ServingProxyHandler(w http.ResponseWriter, req *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Proxy ¶
type Proxy struct { Timeout time.Duration URIPrefix string DefaultAddress string DefaultPort int // contains filtered or unexported fields }
func (*Proxy) PredictHandler ¶
func (proxy *Proxy) PredictHandler(w http.ResponseWriter, req *http.Request)
func (*Proxy) ProxyStreams ¶
func (proxy *Proxy) ProxyStreams(w http.ResponseWriter, req *http.Request)
func (*Proxy) ServingProxyHandler ¶
func (proxy *Proxy) ServingProxyHandler(w http.ResponseWriter, req *http.Request)
Click to show internal directories.
Click to hide internal directories.