auditors

package
v0.0.0-...-18bb2fd Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Auditor

type Auditor struct {
	// contains filtered or unexported fields
}

func NewAuditor

func NewAuditor(repo db.Repository) Auditor

func (*Auditor) AuditChange

func (a *Auditor) AuditChange(ctx context.Context, resourceType db.AuditResourceType, resourceID uuid.UUID, payload any) error

func (*Auditor) AuditCreate

func (a *Auditor) AuditCreate(ctx context.Context, resourceType db.AuditResourceType, resourceID uuid.UUID, payload any) error

func (*Auditor) AuditDelete

func (a *Auditor) AuditDelete(ctx context.Context, resourceType db.AuditResourceType, resourceID uuid.UUID) error

Jump to

Keyboard shortcuts

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