ports

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2026 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuditRepository

type AuditRepository interface {
	Append(ctx context.Context, event *domain.AuditEvent) error
	ListByOrganization(ctx context.Context, orgID string, page, limit int) ([]*domain.AuditEvent, int, error)
}

AuditRepository is the write-only port for audit events. Audit events are append-only; updates and deletes are not permitted.

Jump to

Keyboard shortcuts

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