Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContentAccessLog ¶
type ContentModel ¶
type ContentModel struct {
Id uint `db:"id"`
ScanId uint `db:"scan_id"`
HashedBody string `db:"hashed_body"`
Source string `db:"source"`
FileSize int64 `db:"file_size"`
FileType string `db:"file_type"`
StorageType string `db:"storage_type"`
LastAccessedAt time.Time `db:"last_accessed_at"`
AccessCount int64 `db:"access_count"`
// Relationships
Tags []ContentTagsModel `db:"-"`
Storage ContentStorageModel `db:"-"`
Access []ContentAccessLog `db:"-"`
Findings []FindingModel `db:"-"`
CreatedAt time.Time `db:"created_at"`
UpdatedAt time.Time `db:"updated_at"`
DeletedAt *time.Time `db:"deleted_at"`
}
type ContentStorageModel ¶
type ContentTagsModel ¶
type FindingModel ¶
type FindingModel struct {
Id uint `db:"id"`
ScanId uint `db:"scan_id"`
RegexName string `db:"regex_name"`
RegexDescription string `db:"regex_description"`
Match string `db:"match"`
Source string `db:"source"`
Line int `db:"line"`
CreatedAt time.Time `db:"created_at"`
UpdatedAt time.Time `db:"updated_at"`
DeletedAt *time.Time `db:"deleted_at"`
}
Click to show internal directories.
Click to hide internal directories.