application

package
v0.511.0 Latest Latest
Warning

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

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

README

Application Module

Application services orchestrate use cases between interfaces, domain logic, and infrastructure.

Files

File Responsibility
doc.go Declares the application package placeholder
audit/ Holds SQL parsing and the main offline audit orchestration use case
auditmeta/ Shares metadata-aware audit preparation between interface adapters
connresolve/ Shared Transport Connection Resolution path that stops before open
rulepresence/ Catalog, Default Policy, Loaded, and Suppression for one rule
configstatus/ Derives single-rule effective status under default policy plus optional YAML config
configlint/ Derives deterministic rule-level replacement warnings for a YAML config file
policy/load.go Loads effective audit policy for application use cases
sql_input.go Removes one leading UTF-8 BOM at the shared SQL-input boundary
online/ Opens, identifies, and maps bounded errors for online Query Access sessions
queryaccess/ Defines application contracts for query access analysis

Exports

  • Shared input normalization; concrete use-case exports live in child application modules
  • NormalizeSQLInput() removes exactly one leading UTF-8 BOM before use-case validation and parsing

Dependencies

  • Upstream: internal/interfaces/*, pkg/deltascope
  • Downstream: internal/application/audit, internal/application/policy, internal/application/queryaccess, internal/domain, internal/infrastructure

Update Rule

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

Documentation

Overview

Package application contains application-level use case orchestration. input: interface-layer requests and infrastructure/domain collaborators output: coordinated use case execution and service boundaries pos: application service boundary between interfaces and domain note: if this file changes, update this header and module README.md.

Package application provides shared application-level input normalization. input: SQL text supplied by interface and public API callers output: SQL text with one leading UTF-8 BOM treated as an encoding marker pos: shared SQL-input boundary before use-case validation and parsing note: if this file changes, update this header and module README.md.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NormalizeSQLInput

func NormalizeSQLInput(sql string) string

NormalizeSQLInput removes exactly one leading UTF-8 BOM from SQL input.

Types

This section is empty.

Directories

Path Synopsis
Package audit orchestrates audit use cases at the application layer.
Package audit orchestrates audit use cases at the application layer.
Package auditmeta prepares metadata-aware audit requests for multiple adapters.
Package auditmeta prepares metadata-aware audit requests for multiple adapters.
Package configlint derives rule-level replacement warnings for a DeltaScope YAML config file without changing validation, audit, or policy behavior.
Package configlint derives rule-level replacement warnings for a DeltaScope YAML config file without changing validation, audit, or policy behavior.
Package configstatus derives the effective status of one shipped rule under the default policy and an optional YAML config file.
Package configstatus derives the effective status of one shipped rule under the default policy and an optional YAML config file.
Package connresolve turns caller connection input into a ready-to-open configuration.
Package connresolve turns caller connection input into a ready-to-open configuration.
Package online provides the shared online session factory for SDK, CLI, and HTTP.
Package online provides the shared online session factory for SDK, CLI, and HTTP.
Package policy loads audit policy for application use cases.
Package policy loads audit policy for application use cases.
Package queryaccess owns the immutable MySQL/TiDB builtin semantic manifest.
Package queryaccess owns the immutable MySQL/TiDB builtin semantic manifest.
Package rulepresence computes Catalog, Default Policy, Loaded, and Suppression for one rule.
Package rulepresence computes Catalog, Default Policy, Loaded, and Suppression for one rule.

Jump to

Keyboard shortcuts

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