MCPcopy
hub / github.com/CodisLabs/codis / EncodeURL

Function EncodeURL

pkg/utils/rpc/api.go:201–207  ·  view source on GitHub ↗
(host string, format string, args ...interface{})

Source from the content-addressed store, hash-verified

199}
200
201func EncodeURL(host string, format string, args ...interface{}) string {
202 var u url.URL
203 u.Scheme = "http"
204 u.Host = host
205 u.Path = fmt.Sprintf(format, args...)
206 return u.String()
207}

Callers

nothing calls this directly

Calls 1

StringMethod · 0.45

Tested by

no test coverage detected