(addr string)
| 32 | } |
| 33 | |
| 34 | func WithBindAddr(addr string) Option { |
| 35 | return func(s *Server) *Server { |
| 36 | s.bindAddr = addr |
| 37 | return s |
| 38 | } |
| 39 | } |
| 40 | |
| 41 | func WithBindPort(port int) Option { |
| 42 | return func(s *Server) *Server { |
nothing calls this directly
no outgoing calls
no test coverage detected