| 28 | ) |
| 29 | |
| 30 | type pooledClient struct { |
| 31 | *rpc.Client |
| 32 | |
| 33 | // Fields for pooling |
| 34 | sync.Mutex |
| 35 | freelist *freelist |
| 36 | lastErr error |
| 37 | } |
| 38 | |
| 39 | func (c *pooledClient) SetLastErr(err error) { |
| 40 | c.Lock() |
nothing calls this directly
no outgoing calls
no test coverage detected