Versions in this module Expand all Collapse all v1 v1.99.1 Mar 16, 2022 Changes in this version + const SHOW_CONTENT_SIZE + func CurrentMillis() int64 + func DeepCopyMap(params map[string]string) map[string]string + func GetConfigCacheKey(dataId string, group string, tenant string) string + func GetDurationWithDefault(metadata map[string]string, key string, defaultDuration time.Duration) time.Duration + func GetGroupName(serviceName string, groupName string) string + func GetServiceCacheKey(serviceName string, clusters string) string + func GetStatusCode(response *http.Response) string + func GetUrlFormedMap(source map[string]string) (urlEncoded string) + func JsonToService(result string) *model.Service + func LocalIP() string + func Md5(content string) (md string) + func ToJsonString(object interface{}) string + func TransformObject2Param(object interface{}) (params map[string]string) + func TruncateContent(content string) string + type Semaphore struct + func NewSemaphore(concurrencyNum int) *Semaphore + func (this *Semaphore) Acquire() + func (this *Semaphore) AvailablePermits() int + func (this *Semaphore) Release() + func (this *Semaphore) TryAcquire() bool Other modules containing this package github.com/EricLi404/nacos-sdk-go/v2