Skip to content

Commit

Permalink
增加httpclient
Browse files Browse the repository at this point in the history
  • Loading branch information
bktNULL committed Nov 25, 2022
1 parent 3585fb1 commit e129262
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gateway/app/worker/workerutil/rule_match.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import (
"strings"
)


func GetMatchContext(ctx *gin.Context) map[string]interface{} {

xDataMap := make(map[string]interface{})
Expand All @@ -19,7 +20,6 @@ func GetMatchContext(ctx *gin.Context) map[string]interface{} {
xDataMap["s_client_ip"] = ctx.ClientIP()

return xDataMap

}

//字符串规则匹配
Expand Down
2 changes: 1 addition & 1 deletion gateway/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ go 1.17

require (
github.com/alexmullins/zip v0.0.0-20180717182244-4affb64b04d0
github.com/chwjbn/go4sky v1.1.3
github.com/chwjbn/go4sky v1.1.5
github.com/gin-gonic/gin v1.8.1
github.com/go-ozzo/ozzo-validation v3.6.0+incompatible
github.com/kardianos/service v1.2.2
Expand Down
Binary file removed release/v1.0.0.zip
Binary file not shown.

0 comments on commit e129262

Please sign in to comment.