MCPcopy
hub / github.com/caddyserver/caddy / addr

Method addr

caddytest/integration/proxyprotocol_test.go:130–132  ·  view source on GitHub ↗

addr returns the listening address (host:port) of the backend.

()

Source from the content-addressed store, hash-verified

128
129// addr returns the listening address (host:port) of the backend.
130func (b *proxyProtoBackend) addr() string {
131 return b.ln.Addr().String()
132}
133
134// recordedAddrs returns a snapshot of all PROXY-header source addresses seen
135// so far.

Callers 2

testProxyProtocolMatrixFunction · 0.45

Calls 2

AddrMethod · 0.80
StringMethod · 0.45

Tested by

no test coverage detected