transports/transports.go
func ListNames() []string {
	kt.mu.Lock()
	defer kt.mu.Unlock()
	deprecated := map[string]bool{
		"atomic": true,
	}
	var names []string
	for _, transport := range kt.transports {
		if !deprecated[transport.Name()] {
			names = append(names, transport.Name())
		}
	}
	sort.Strings(names)
	return names
}
func ListNames() []string {
	kt.mu.Lock()
	defer kt.mu.Unlock()
	deprecated := map[string]bool{
		"atomic": true,
	}
	var names []string
	for _, transport := range kt.transports {
		if !deprecated[transport.Name()] {
			names = append(names, transport.Name())
		}
	}
	sort.Strings(names)
	return names
}
// ListNames returns a list of non deprecated transport names.
// Deprecated transports can be used, but are not presented to users.