Package Usage: go: crawshaw.io/iox
Package iox contains I/O utilities.
The primary concern of the package is managing and minimizing the use
of file descriptors, an operating system resource which is often in
short supply in high-concurrency servers.
The two objects that help in this are the Filer and BufferFile.
A filer manages a allotment of file descriptors, blocking on file
creation until an old file closes and frees up a descriptor allotment.
A BufferFile keeps a fraction of its contents in memory.
If the number of bytes stored in a BufferFile is small, no file
descriptor is ever used.
1 version
Latest release: over 6 years ago
36 dependent packages
View more package details: https://packages.ecosystem.code.gouv.fr/registries/proxy.golang.org/packages/crawshaw.io/iox