(userID string)
| 55 | } |
| 56 | |
| 57 | func (cm *ClientManager) GetHTTPClient(userID string) *resty.Client { |
| 58 | cm.RLock() |
| 59 | defer cm.RUnlock() |
| 60 | return cm.httpClients[userID] |
| 61 | } |
| 62 | |
| 63 | func (cm *ClientManager) DeleteHTTPClient(userID string) { |
| 64 | cm.Lock() |
no outgoing calls
no test coverage detected