Balík: golang-github-shenwei356-bpool-dev (0.0~git20160710.f9e0ee4-3)
Odkazy pre golang-github-shenwei356-bpool-dev
Zdroje Debian:
Stiahnuť zdrojový balík golang-github-shenwei356-bpool:
- [golang-github-shenwei356-bpool_0.0~git20160710.f9e0ee4-3.dsc]
- [golang-github-shenwei356-bpool_0.0~git20160710.f9e0ee4.orig.tar.xz]
- [golang-github-shenwei356-bpool_0.0~git20160710.f9e0ee4-3.debian.tar.xz]
Správcovia:
Externé zdroje:
- Domovská stránka [github.com]
Podobné balíky:
- 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.
Stiahnuť golang-github-shenwei356-bpool-dev
Architektúra | Veľkosť balíka | Nainštalovaná veľkosť | Súbory |
---|---|---|---|
all | 4.6 kB | 22.0 kB | [zoznam súborov] |