(id string)
| 71 | } |
| 72 | |
| 73 | func (s *Server) Del(id string) { |
| 74 | s.locker.Lock() |
| 75 | defer s.locker.Unlock() |
| 76 | delete(s.servers, id) |
| 77 | } |
| 78 | |
| 79 | func (s *Server) Get(id string) (*Handler, bool) { |
| 80 | s.locker.RLock() |
no outgoing calls
no test coverage detected