(tlsConfig *tls.Config)
| 46 | } |
| 47 | |
| 48 | func WithTlsConfig(tlsConfig *tls.Config) Option { |
| 49 | return func(s *Server) *Server { |
| 50 | s.tlsConfig = tlsConfig |
| 51 | return s |
| 52 | } |
| 53 | } |
| 54 | |
| 55 | func WithHandler(h http.Handler) Option { |
| 56 | return func(s *Server) *Server { |
no outgoing calls
no test coverage detected