Entry schema with constructor-enforced actor/target types, a generic RegisterEventForAudit helper that maps opted-in events to entries on the existing watermill bus (license-gated per event since licenses are runtime-mutable), and a JSONL writer with size-based rotation, age-based cleanup of rotated files and batched fsync. |
||
|---|---|---|
| .. | ||
| entry.go | ||
| listener.go | ||
| writer.go | ||