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

Function WithBindPort

test/e2e/mock/server/httpserver/server.go:34–39  ·  view source on GitHub ↗
(port int)

Source from the content-addressed store, hash-verified

32}
33
34func WithBindPort(port int) Option {
35 return func(s *Server) *Server {
36 s.bindPort = port
37 return s
38 }
39}
40
41func WithTLSConfig(tlsConfig *tls.Config) Option {
42 return func(s *Server) *Server {

Callers 13

NewMockServersFunction · 0.92
client.goFile · 0.92
group.goFile · 0.92
real_ip.goFile · 0.92
http.goFile · 0.92
basic.goFile · 0.92
NewHTTPPluginServerFunction · 0.92
client.goFile · 0.92
ssh_tunnel.goFile · 0.92
group.goFile · 0.92
real_ip.goFile · 0.92
http.goFile · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…