Skip to content
/ httpseek Public

httpseek is a go package that implements io.Seeker and io.SectionReader interface on HTTP Response bodies.

License

Notifications You must be signed in to change notification settings

Hnz/httpseek

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

httpseek

Version Go.Dev reference Go Report Card GitHub Workflow Status

httpseek is a go package that implements io.Seeker and io.ReaderAt interface on HTTP Response bodies. This allows the client to read parts of a file without downloading it entirely.

To achieve this the HTTP Range request is used. If the HTTP server does not support this, the request will fail.

To prevent lots of tiny http request a buffer is implemented.

Install library

go get github.com/hnz/httpseek

License

MIT Licensed. See LICENSE.md.

About

httpseek is a go package that implements io.Seeker and io.SectionReader interface on HTTP Response bodies.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages