Fetcher is used to get files from a URI.
| 25 | |
| 26 | // Fetcher is used to get files from a URI. |
| 27 | type Fetcher interface { |
| 28 | // Get gets the file and returns an stream to read the file. |
| 29 | Get(uri string) (io.ReadCloser, error) |
| 30 | } |
| 31 | |
| 32 | var _ Fetcher = HTTPFetcher{} |
| 33 |
no outgoing calls
no test coverage detected