Documentation ¶
Index ¶
- Variables
- func AggregateScans(plugin string, currentScan map[string]string, scansPerTicket int, ...) ([]map[string]string, error)
- func ChangeDbPath(newPath string)
- func CheckExpiredData()
- func CheckSizeLimit()
- func HandleCurrentInfo(scanInfo *data.ScanImageInfo) (prev []byte, isNew bool, err error)
- func Init(db *bbolt.DB, bucket string) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DbSizeLimit = 0 DbDueDate = 0 DbPath = "/server/database/webhooks.db" )
Functions ¶
func AggregateScans ¶
func ChangeDbPath ¶
func ChangeDbPath(newPath string)
func CheckExpiredData ¶
func CheckExpiredData()
func CheckSizeLimit ¶
func CheckSizeLimit()
func HandleCurrentInfo ¶
func HandleCurrentInfo(scanInfo *data.ScanImageInfo) (prev []byte, isNew bool, err error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.