()
| 927 | } |
| 928 | |
| 929 | func (s *Server) protocolsWithDefaults() []string { |
| 930 | if len(s.Protocols) == 0 { |
| 931 | return defaultProtocols |
| 932 | } |
| 933 | return s.Protocols |
| 934 | } |
| 935 | |
| 936 | func (s *Server) listenerProtocolsWithDefaults(lnProtocols []string) []string { |
| 937 | serverProtocols := s.protocolsWithDefaults() |
no outgoing calls
no test coverage detected