Documentation
¶
Overview ¶
Package outputs registers all audit output factories with a single blank import:
import _ "github.com/axonops/audit/outputs"
This is a convenience package following the image/all pattern. It blank-imports github.com/axonops/audit/file, github.com/axonops/audit/syslog, github.com/axonops/audit/webhook, and github.com/axonops/audit/loki, causing their init() functions to register output factories with the core registry.
Production deployments SHOULD import only the output packages they use to minimise binary size and dependency surface. This package pulls in all output dependencies including HTTP clients, syslog libraries, and compression codecs.
Double registration is safe — audit.RegisterOutputFactory overwrites silently by design.