| 1093 | } |
| 1094 | |
| 1095 | type tokenReleasingReadCloser struct { |
| 1096 | io.Reader |
| 1097 | release func() |
| 1098 | closed bool |
| 1099 | } |
| 1100 | |
| 1101 | func (rc *tokenReleasingReadCloser) Close() error { |
| 1102 | if !rc.closed { |
nothing calls this directly
no outgoing calls
no test coverage detected