Added crash filtering

Added version field to individual crash
This commit is contained in:
Caleb Gardner
2024-07-09 20:39:26 -05:00
parent a77d55924d
commit e43409923c
5 changed files with 21 additions and 8 deletions
+6
View File
@@ -9,6 +9,12 @@ type App interface {
CrashTable() CrashTable
}
// Allows for an App to filter crashes before they get added to the DB, such as making sure the crash is from the correct version.
type CrashFilterApp interface {
App
AddCrash(IndividualCrash) bool
}
type ExtendedApp interface {
// Extension is called for any calls to /{appID}/
// Alternatively, use Backend.HandleFunc for more customizability