Add files via upload

This commit is contained in:
公明 authored and GitHub committed 2026-06-18 12:40:54 +08:00
1 parent 56faefaaf9
commit d5a0f93c6c
94 files changed
+24645

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
package audit
// RetentionDays returns configured retention; 0 means keep forever.
func (s *Service) RetentionDays() int {
if s == nil || s.cfg == nil {
return 0
}
return s.cfg.Audit.RetentionDaysEffective()
}