outputs

package module
v0.1.13 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 12, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL