Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Option ¶
type Option func(o *options)
Option is the functional argument for audit options
func WithBasePath ¶
WithBasePath sets base path for audit logs
func WithMaxAgeDays ¶
WithMaxAgeDays sets age after which backed up rotated audit logs will be deleted
func WithMaxBackups ¶
WithMaxBackups sets maximum number of backed up rotated audit logs to maintain
func WithMaxSizeMB ¶
WithMaxSizeMB sets max size of audit file before it is rotated
Click to show internal directories.
Click to hide internal directories.