|
@@ -1,6 +1,10 @@
|
|
|
package proxy
|
|
|
|
|
|
import (
|
|
|
+ "fmt"
|
|
|
+ "net/http"
|
|
|
+ "net/url"
|
|
|
+
|
|
|
log "app.yhyue.com/moapp/jylog"
|
|
|
. "bp.jydev.jianyu360.cn/BaseService/gateway/common/gatecode"
|
|
|
"bp.jydev.jianyu360.cn/BaseService/gateway/core/node"
|
|
@@ -10,14 +14,11 @@ import (
|
|
|
"bp.jydev.jianyu360.cn/BaseService/gateway/core/proxy/proxyClient"
|
|
|
"bp.jydev.jianyu360.cn/BaseService/gateway/core/proxy/vars"
|
|
|
"bp.jydev.jianyu360.cn/BaseService/gateway/core/router"
|
|
|
- "fmt"
|
|
|
"github.com/gogf/gf/v2/frame/g"
|
|
|
"github.com/gogf/gf/v2/net/ghttp"
|
|
|
"github.com/gogf/gf/v2/net/gtrace"
|
|
|
"github.com/gogf/gf/v2/os/gcfg"
|
|
|
"github.com/gogf/gf/v2/os/gctx"
|
|
|
- "net/http"
|
|
|
- "net/url"
|
|
|
)
|
|
|
|
|
|
var routerManager *router.Manager
|