mirror of
https://github.com/kataras/iris.git
synced 2025-12-27 23:07:03 +00:00
Update to 7.2.0. Read https://github.com/kataras/iris/blob/master/HISTORY.md#th-15-june-2017--v720
Fix https://github.com/iris-contrib/community-board/issues/12 . Read more: https://github.com/kataras/iris/blob/master/HISTORY.md#th-15-june-2017--v720 Former-commit-id: 398cb69fdc7e5367b147693371287ffb7b912feb
This commit is contained in:
@@ -67,7 +67,7 @@ func ProxyHandler(target *url.URL) *httputil.ReverseProxy {
|
||||
// It uses the httputil.NewSingleHostReverseProxy.
|
||||
//
|
||||
// Usage:
|
||||
// target,_ := url.Parse("https://mydomain.com")
|
||||
// target, _ := url.Parse("https://mydomain.com")
|
||||
// proxy := NewProxy("mydomain.com:80", target)
|
||||
// proxy.ListenAndServe() // use of proxy.Shutdown to close the proxy server.
|
||||
func NewProxy(hostAddr string, target *url.URL) *Supervisor {
|
||||
|
||||
Reference in New Issue
Block a user