Close release underlying connection resources.
()
| 104 | |
| 105 | // Close release underlying connection resources. |
| 106 | func (c *RawCaller) Close() { |
| 107 | c.Lock() |
| 108 | defer c.Unlock() |
| 109 | if c.client != nil { |
| 110 | _ = c.client.Close() |
| 111 | c.client = nil |
| 112 | } |
| 113 | } |
| 114 | |
| 115 | // Target returns the request target for logging purpose. |
| 116 | func (c *RawCaller) Target() string { |