MCPcopy Create free account
hub / github.com/coder/coder / Addr

Method Addr

enterprise/aibridgeproxyd/aibridgeproxyd.go:488–493  ·  view source on GitHub ↗

Addr returns the address the server is listening on. This is useful when the server was started with port 0.

()

Source from the content-addressed store, hash-verified

486// Addr returns the address the server is listening on.
487// This is useful when the server was started with port 0.
488func (s *Server) Addr() string {
489 if s.listener == nil {
490 return ""
491 }
492 return s.listener.Addr().String()
493}
494
495// IsTLSListener reports whether the proxy listener is serving TLS.
496func (s *Server) IsTLSListener() bool {

Callers 10

tcpEchoServerFunction · 0.45
NewWorkspaceProxyReplicaFunction · 0.45
NewRemoteConnectorFunction · 0.45
NewFunction · 0.45
newTestProxyFunction · 0.45
newProxyClientFunction · 0.45
TestProxy_AuthenticationFunction · 0.45

Calls 1

StringMethod · 0.45

Tested by 7

tcpEchoServerFunction · 0.36
newTestProxyFunction · 0.36
newProxyClientFunction · 0.36
TestProxy_AuthenticationFunction · 0.36