Skip to content
Sections
>> Trisquel >> 套件 >> etiona >> devel >> golang-github-svent-go-nbreader-dev
etiona  ] [  nabia  ] [  aramo  ]
[ 原始碼: golang-github-svent-go-nbreader  ]

套件: golang-github-svent-go-nbreader-dev (0~20150201-2)

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.

下載 golang-github-svent-go-nbreader-dev

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
all 3.9 kB19 kB [文件列表]