Skip to content
Sections
>> Trisquel >> Paquets >> nabia >> devel >> golang-github-svent-go-nbreader-dev
etiona  ] [  nabia  ] [  aramo  ]
[ Paquet source : golang-github-svent-go-nbreader  ]

Paquet : golang-github-svent-go-nbreader-dev (0~20150201-3)

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.

Télécharger golang-github-svent-go-nbreader-dev

Télécharger pour toutes les architectures proposées
Architecture Taille du paquet Espace occupé une fois installé Fichiers
all 4,2 ko19 ko [liste des fichiers]