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

Method RunServer

test/e2e/framework/framework.go:260–267  ·  view source on GitHub ↗
(portName string, s server.Server)

Source from the content-addressed store, hash-verified

258}
259
260func (f *Framework) RunServer(portName string, s server.Server) {
261 f.servers = append(f.servers, s)
262 if s.BindPort() > 0 && portName != "" {
263 f.usedPorts[portName] = s.BindPort()
264 }
265 err := s.Run()
266 ExpectNoError(err, "RunServer: with PortName %s", portName)
267}
268
269func (f *Framework) SetEnvs(envs []string) {
270 f.osEnvs = envs

Callers 15

server.goFile · 0.80
client.goFile · 0.80
group.goFile · 0.80
real_ip.goFile · 0.80
bandwidth_limit.goFile · 0.80
http.goFile · 0.80
basic.goFile · 0.80
tcpmux.goFile · 0.80
server.goFile · 0.80
client.goFile · 0.80
ssh_tunnel.goFile · 0.80
group.goFile · 0.80

Calls 3

ExpectNoErrorFunction · 0.85
BindPortMethod · 0.65
RunMethod · 0.65

Tested by

no test coverage detected