Documentation ¶
Index ¶
- Variables
- func AggregateScans(output string, currentScan map[string]string, scansPerTicket int, ...) ([]map[string]string, error)
- func ChangeDbPath(newPath string)
- func CheckExpiredData()
- func CheckSizeLimit()
- func EnsureApiKey() error
- func GetApiKey() (string, error)
- func MayBeStoreMessage(message []byte, messageKey string, expired *time.Time) (wasStored bool, err error)
- func RegisterPlgnInvctn(name string) error
- func SetNewDbPathFromEnv()
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DbBucketActionStats = "WebhookActionStats" DbSizeLimit = 0 DateFmt = time.RFC3339Nano DbPath = "/server/database/webhooks.db" )
Functions ¶
func AggregateScans ¶
func ChangeDbPath ¶
func ChangeDbPath(newPath string)
func CheckExpiredData ¶
func CheckExpiredData()
func CheckSizeLimit ¶
func CheckSizeLimit()
func EnsureApiKey ¶
func EnsureApiKey() error
func MayBeStoreMessage ¶
func RegisterPlgnInvctn ¶
func SetNewDbPathFromEnv ¶
func SetNewDbPathFromEnv()
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.