audit

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2026 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Actor

type Actor struct {
	ID    string
	Email string
}

type Entry

type Entry struct {
	Action     string
	Actor      Actor
	EntityType string
	EntityID   string
	Summary    string
	Details    any
	OccurredAt time.Time
}

type Service

type Service struct {
	App core.App
	Now func() time.Time
}

func NewService

func NewService(app core.App) *Service

func (*Service) Record

func (s *Service) Record(entry Entry) error

func (*Service) RecordInApp

func (s *Service) RecordInApp(app core.App, entry Entry) error

Jump to

Keyboard shortcuts

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