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

Function WithBindAddr

frp-dev/test/e2e/mock/server/httpserver/server.go:34–39  ·  view source on GitHub ↗
(addr string)

Source from the content-addressed store, hash-verified

32}
33
34func WithBindAddr(addr string) Option {
35 return func(s *Server) *Server {
36 s.bindAddr = addr
37 return s
38 }
39}
40
41func WithBindPort(port int) Option {
42 return func(s *Server) *Server {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected