Пакунок: golang-github-shenwei356-bpool-dev (0.0~git20160710.f9e0ee4-2)
Links for golang-github-shenwei356-bpool-dev
Debian Resources:
Download Source Package golang-github-shenwei356-bpool:
- [golang-github-shenwei356-bpool_0.0~git20160710.f9e0ee4-2.dsc]
- [golang-github-shenwei356-bpool_0.0~git20160710.f9e0ee4.orig.tar.xz]
- [golang-github-shenwei356-bpool_0.0~git20160710.f9e0ee4-2.debian.tar.xz]
Maintainers:
External Resources:
- Homepage [github.com]
Similar packages:
- golang-github-unrolled-render-dev
- golang-github-go-ozzo-ozzo-validation.v4-dev
- golang-github-mitchellh-mapstructure-dev
- golang-github-go-viper-mapstructure-dev
- golang-github-go-playground-validator-v10-dev
- golang-github-tendermint-go-wire-dev
- golang-gopkg-go-playground-validator.v8-dev
- libghc-store-dev
- golang-github-gorilla-csrf-dev
- libghc-store-doc
- libghc-store-prof
Buffer/Byte pool for Go (library)
This library implements leaky pools of byte arrays and Buffers as bounded channels. It is based on the leaky buffer example from the Effective
Bpool provides the following pool types:
BufferPool: fixed-size pool of bytes.Buffers BytePool: fixed-size pool of byte slices with a pre-set width SizedBufferPool: alternative to BufferPool that pre-sizes the capacity of buffers issued from the pool and discards buffers that have grown too large upon return.
A common use case for this package is to use buffers to execute HTML templates against (via ExecuteTemplate) or encode JSON into (via json.NewEncoder). This allows you to catch any rendering or marshalling errors prior to writing to a http.ResponseWriter, which helps to avoid writing incomplete or malformed data to the response.
Завантажити golang-github-shenwei356-bpool-dev
Архітектура | Розмір пакунка | Розмір після встановлення | Файли |
---|---|---|---|
all | 4.5 kB | 22.0 kB | [список файлів] |