MCPcopy
hub / github.com/fatedier/frp / PortByName

Method PortByName

test/e2e/framework/framework.go:224–226  ·  view source on GitHub ↗
(name string)

Source from the content-addressed store, hash-verified

222}
223
224func (f *Framework) PortByName(name string) int {
225 return f.usedPorts[name]
226}
227
228func (f *Framework) AllocPort() int {
229 port := f.portAllocator.Get()

Callers 15

PortNameMethod · 0.80
client.goFile · 0.80
heartbeat.goFile · 0.80
chaos.goFile · 0.80
basic.goFile · 0.80
cmd.goFile · 0.80
config.goFile · 0.80
client.goFile · 0.80
heartbeat.goFile · 0.80
chaos.goFile · 0.80
store.goFile · 0.80
ssh_tunnel.goFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected