audit_logs

package
v0.0.0-...-d2923a7 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuditLogRepository

type AuditLogRepository interface {
	CreateAuditLog(ctx context.Context, auditLog models.AuditLog) error
}

type AuditLogService

type AuditLogService interface {
	CreateAuditLog(auditLog models.AuditLog) error
	QueAuditLog(ctx context.Context)
	ParseAndCreateAuditLog(audit models.AuditLogRequest, module_id, module string, beforeChange, afterChang interface{}, err error)
}

func NewAuditLogService

func NewAuditLogService(r AuditLogRepository) AuditLogService

type Repository

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

func NewAuditLogRepository

func NewAuditLogRepository(db *bun.DB) *Repository

func (*Repository) CreateAuditLog

func (r *Repository) CreateAuditLog(ctx context.Context, auditLog models.AuditLog) error

Jump to

Keyboard shortcuts

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