(resourceLocation string)
| 15 | } |
| 16 | |
| 17 | func parseResourceLocation(resourceLocation string) ( |
| 18 | network string, |
| 19 | address string) { |
| 20 | |
| 21 | idx := strings.Index(resourceLocation, " ") |
| 22 | if idx >= 0 { |
| 23 | return resourceLocation[:idx], resourceLocation[idx+1:] |
| 24 | } |
| 25 | |
| 26 | return "", resourceLocation |
| 27 | } |
| 28 | |
| 29 | // A thin wrapper around the underlying resource pool. |
| 30 | type connectionPoolImpl struct { |
no outgoing calls
no test coverage detected