Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type QueryFilter ¶
type QueryFilter struct { StartTime *time.Time EndTime *time.Time ProcessFilter string OperationFilter []string FilenamePattern string PID *uint32 Limit int Offset int }
QueryFilter represents search criteria for querying events
type SQLiteDB ¶
type SQLiteDB struct {
// contains filtered or unexported fields
}
func NewSQLiteDB ¶
func (*SQLiteDB) CountEvents ¶
func (s *SQLiteDB) CountEvents(filter QueryFilter) (int, error)
CountEvents returns the total number of events matching the filter
func (*SQLiteDB) QueryEvents ¶
func (s *SQLiteDB) QueryEvents(filter QueryFilter) ([]models.EventOutput, error)
QueryEvents retrieves events from the database based on filters
Click to show internal directories.
Click to hide internal directories.