MCPcopy Create free account
hub / github.com/pydio/cells / HttpBindAddress

Function HttpBindAddress

common/runtime/runtime.go:274–282  ·  view source on GitHub ↗

HttpBindAddress returns the KeyBindHost:KeyHttpPort URL

()

Source from the content-addressed store, hash-verified

272
273// HttpBindAddress returns the KeyBindHost:KeyHttpPort URL
274func HttpBindAddress() string {
275 h := r.GetString(KeyBindHost)
276 if HttpServerType() == HttpServerNative && h == "0.0.0.0" {
277 if addr, err := utilnet.ResolveBindAddress(net.ParseIP(h)); err == nil {
278 h = addr.String()
279 }
280 }
281 return net.JoinHostPort(h, r.GetString(KeyHttpPort))
282}
283
284// LogLevel returns the --log value
285func LogLevel() string {

Callers

nothing calls this directly

Calls 3

HttpServerTypeFunction · 0.85
GetStringMethod · 0.65
StringMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…