diff --git a/common/url.go b/common/url.go index a058b1cce5b363964c4975befe0d5095cd53ddac..5f8ffadad7bf1373ca649efe9d5e401cd80caa95 100644 --- a/common/url.go +++ b/common/url.go @@ -78,10 +78,10 @@ func (t RoleType) Role() string { } type baseUrl struct { - Protocol string - Location string // ip+port - Ip string - Port string + Protocol string + Location string // ip+port + Ip string + Port string //url.Values is not safe map, add to avoid concurrent map read and map write error paramsLock sync.RWMutex params url.Values