1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
|
Source: golang-github-svent-go-nbreader
Section: devel
Priority: extra
Maintainer: Debian Go Packaging Team <pkg-go-maintainers@lists.alioth.debian.org>
Uploaders: ChangZhuo Chen (陳昌倬) <czchen@debian.org>
Build-Depends: debhelper (>=9),
dh-golang,
golang-go
Standards-Version: 3.9.8
Homepage: https://github.com/svent/go-nbreader
Vcs-Browser: https://anonscm.debian.org/git/pkg-go/packages/golang-github-svent-go-nbreader.git
Vcs-Git: https://anonscm.debian.org/git/pkg-go/packages/golang-github-svent-go-nbreader.git
XBS-Go-Import-Path: github.com/svent/go-nbreader
Package: golang-github-svent-go-nbreader-dev
Architecture: all
Multi-Arch: foreign
Depends: ${misc:Depends},
${shlibs:Depends},
Built-Using: ${misc:Built-Using}
Description: non-blocking io.Reader for go
go-nbreader provides a non-blocking io.Reader for go (golang). It
allows one to specify two timeouts:
.
* Timeout: Read() returns after the specified timeout, even if no data
has been read.
.
* ChunkTimeout: Read() returns if no data has been read for the
specified time, even if the overall timeout has not been hit yet.
ChunkTimeout must be smaller than Timeout.
.
When the internal buffer contains at least blockSize bytes, Read()
returns regardless of the specified timeouts.
|