mirror of
https://github.com/goharbor/harbor.git
synced 2024-09-29 13:57:33 +02:00
13 lines
240 B
Go
13 lines
240 B
Go
|
package chartserver
|
||
|
|
||
|
import (
|
||
|
"net/http"
|
||
|
)
|
||
|
|
||
|
// ProxyTraffic implements the interface method.
|
||
|
func (c *Controller) ProxyTraffic(w http.ResponseWriter, req *http.Request) {
|
||
|
if c.trafficProxy != nil {
|
||
|
c.trafficProxy.ServeHTTP(w, req)
|
||
|
}
|
||
|
}
|