infrastructure

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2026 License: Apache-2.0 Imports: 0 Imported by: 0

README

Infrastructure Module

Infrastructure adapters for parser, config loading, metadata loading, and output rendering.

Files

File Responsibility
doc.go Declares the infrastructure package placeholder
config/viper/loader.go Loads YAML policy overrides through Viper
metadata/ Holds optional metadata-provider adapters
output/ Holds result rendering adapters
parser/ Holds parser adapter modules

Exports

  • No exported API yet

Dependencies

  • Upstream: internal/application
  • Downstream: internal/infrastructure/config/viper, internal/infrastructure/metadata, internal/infrastructure/output, internal/infrastructure/parser, external libraries and runtimes

Update Rule

  • If members/interfaces/dependencies change, update this file in same change.

Documentation

Overview

Package infrastructure contains external adapters used by the application. input: domain/application integration needs and external libraries output: parser, config, and rendering adapter implementations pos: infrastructure boundary around external integrations note: if this file changes, update this header and module README.md.

Directories

Path Synopsis
config
viper
Package viperconfig loads YAML policy files through Viper.
Package viperconfig loads YAML policy files through Viper.
metadata
mysql
Package mysqlmeta implements metadata-aware audit adapters over the MySQL protocol.
Package mysqlmeta implements metadata-aware audit adapters over the MySQL protocol.
output
json
Package jsonrender renders audit results as machine-oriented JSON.
Package jsonrender renders audit results as machine-oriented JSON.
markdown
Package markdown renders audit results as human-readable Markdown.
Package markdown renders audit results as human-readable Markdown.
parser
tidb
Package tidbparser loads SQL text through the TiDB parser.
Package tidbparser loads SQL text through the TiDB parser.

Jump to

Keyboard shortcuts

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