Documentation
¶
Overview ¶
Package flock provides best-effort advisory file locking using flock(2).
This is used for cross-replica coordination (e.g. preventing duplicate ACME requests). Note that flock(2) does NOT work reliably on NFS volumes: on NFSv3 it depends on the NLM daemon, on NFSv4 Linux emulates it via fcntl locks with different semantics. Callers must treat lock failures as non-fatal and proceed without the lock.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.