Paquet : golang-github-client9-reopen-dev (1.0.0-3)
Liens pour golang-github-client9-reopen-dev
Ressources Trisquel :
Télécharger le paquet source golang-github-client9-reopen :
- [golang-github-client9-reopen_1.0.0-3.dsc]
- [golang-github-client9-reopen_1.0.0.orig.tar.gz]
- [golang-github-client9-reopen_1.0.0-3.debian.tar.xz]
Responsable :
Original Maintainers:
- Debian Go Packaging Team
- Pirate Praveen
Ressources externes :
- Page d'accueil [github.com]
Paquets similaires :
freopen functionality for golang's io.Writers (library)
Makes a standard os.File a "reopenable writer" and allows SIGHUP signals to reopen log files, as needed by logrotated. This is inspired by the C/Posix freopen.
The simple version reopen.NewFileWriter does unbuffered writing. A call to .Reopen closes the existing file handle, and then re-opens it using the original filename.
The more advanced version reopen.NewBufferedFileWriter buffers input and flushes when the internal buffer is full (with care) or if 30 seconds has elapsed.
Télécharger golang-github-client9-reopen-dev
Architecture | Taille du paquet | Espace occupé une fois installé | Fichiers |
---|---|---|---|
all | 5,7 ko | 29 ko | [liste des fichiers] |