Get returns the connection to use from the pool of connections.
()
| 210 | |
| 211 | // Get returns the connection to use from the pool of connections. |
| 212 | func (p *Pool) Get() *grpc.ClientConn { |
| 213 | p.RLock() |
| 214 | defer p.RUnlock() |
| 215 | return p.conn |
| 216 | } |
| 217 | |
| 218 | func (p *Pool) shutdown() { |
| 219 | glog.Warningf("CONN: Shutting down extra connection to %s", p.Addr) |
no test coverage detected