MCPcopy
hub / github.com/segmentio/kafka-go / makeAddr

Function makeAddr

address.go:22–27  ·  view source on GitHub ↗
(network, address string)

Source from the content-addressed store, hash-verified

20}
21
22func makeAddr(network, address string) net.Addr {
23 return &networkAddress{
24 network: network,
25 address: canonicalAddress(address),
26 }
27}
28
29func makeMultiAddr(network string, addresses []string) net.Addr {
30 multi := make(multiAddr, len(addresses))

Callers 2

makeNetAddrFunction · 0.85
makeMultiAddrFunction · 0.85

Calls 1

canonicalAddressFunction · 0.85

Tested by

no test coverage detected