(port int)
| 32 | } |
| 33 | |
| 34 | func WithBindPort(port int) Option { |
| 35 | return func(s *Server) *Server { |
| 36 | s.bindPort = port |
| 37 | return s |
| 38 | } |
| 39 | } |
| 40 | |
| 41 | func WithTLSConfig(tlsConfig *tls.Config) Option { |
| 42 | return func(s *Server) *Server { |
no outgoing calls
no test coverage detected
searching dependent graphs…