すべてのオプション
bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ ソース: golang-github-client9-reopen  ]

パッケージ: golang-github-client9-reopen-dev (1.0.0-4)

golang-github-client9-reopen-dev に関するリンク

Screenshot

Debian の資源:

golang-github-client9-reopen ソースパッケージをダウンロード:

メンテナ:

外部の資源:

類似のパッケージ:

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.

golang-github-client9-reopen-dev のダウンロード

すべての利用可能アーキテクチャ向けのダウンロード
アーキテクチャ パッケージサイズ インストールサイズ ファイル
all 5.8 kB29.0 kB [ファイル一覧]