MCPcopy Create free account
hub / github.com/M1r0ku/frp-Modify / RunServer

Method RunServer

frp-dev/test/e2e/framework/framework.go:248–255  ·  view source on GitHub ↗
(portName string, s server.Server)

Source from the content-addressed store, hash-verified

246}
247
248func (f *Framework) RunServer(portName string, s server.Server) {
249 f.servers = append(f.servers, s)
250 if s.BindPort() > 0 && portName != "" {
251 f.usedPorts[portName] = s.BindPort()
252 }
253 err := s.Run()
254 ExpectNoError(err, "RunServer: with PortName %s", portName)
255}
256
257func (f *Framework) SetEnvs(envs []string) {
258 f.osEnvs = envs

Callers 7

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

Calls 3

ExpectNoErrorFunction · 0.85
BindPortMethod · 0.65
RunMethod · 0.65

Tested by

no test coverage detected