Add files via upload

This commit is contained in:
公明 authored and GitHub committed 2026-08-15 02:14:36 +08:00
1 parent 9f38fda15f
commit ee4676a591
72 files changed
+11131

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()
}