MCPcopy
hub / github.com/cloudflare/cloudflared / Addr

Method Addr

edgediscovery/mocks_for_test.go:94–99  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

92}
93
94func (mr *mockEdgeServiceDiscoverer) Addr() (*net.TCPAddr, error) {
95 return &net.TCPAddr{
96 IP: net.ParseIP("127.0.0.1"),
97 Port: 63102,
98 }, nil
99}
100
101func (mr *mockEdgeServiceDiscoverer) AnyAddr() (*net.TCPAddr, error) {
102 return &net.TCPAddr{

Callers 15

startMethod · 0.80
netipAddrFunction · 0.80
ServeMetricsFunction · 0.80
serveQUICMethod · 0.80
testDatagramFunction · 0.80
ConvertToTTLExceededMethod · 0.80
MarshalBinaryMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected