Seek returns a PipeSeekError; allowing the top level calling function to handle the retry instead of seeking back to the beginning of the Reader.
(offset int64, whence int)
| 16 | // Seek returns a PipeSeekError; allowing the top level calling function to |
| 17 | // handle the retry instead of seeking back to the beginning of the Reader. |
| 18 | func (*Pipebomb) Seek(offset int64, whence int) (int64, error) { |
| 19 | return 0, ccerror.PipeSeekError{} |
| 20 | } |
| 21 | |
| 22 | // NewPipeBomb returns an io.WriteCloser that can be used to stream data to a |
| 23 | // the Pipebomb. |