MCPcopy Create free account
hub / github.com/akash-network/node / newFreePorts

Function newFreePorts

testutil/network/network.go:211–216  ·  view source on GitHub ↗
(ports []int)

Source from the content-addressed store, hash-verified

209}
210
211func newFreePorts(ports []int) *freePorts {
212 return &freePorts{
213 idx: 0,
214 ports: ports,
215 }
216}
217
218func (p *freePorts) mustGetPort() int {
219 defer p.lock.Unlock()

Callers 1

NewFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected