Shutdown causes Serve() to exit, cleaning up behind itself.
()
| 267 | |
| 268 | // Shutdown causes Serve() to exit, cleaning up behind itself. |
| 269 | func (s *Server) Shutdown() { |
| 270 | select { |
| 271 | case s.errs <- nil: |
| 272 | default: |
| 273 | } |
| 274 | } |
nothing calls this directly
no outgoing calls
no test coverage detected