ServerList is a simple ServerSelector. Its zero value is usable.
| 37 | |
| 38 | // ServerList is a simple ServerSelector. Its zero value is usable. |
| 39 | type ServerList struct { |
| 40 | mu sync.RWMutex |
| 41 | addrs []net.Addr |
| 42 | } |
| 43 | |
| 44 | // staticAddr caches the Network() and String() values from any net.Addr. |
| 45 | type staticAddr struct { |
nothing calls this directly
no outgoing calls
no test coverage detected