Changed ExtendedApp to use ServeMux directly

More work on portfolio stuff
Added technologies to portfolio projects
This commit is contained in:
Caleb Gardner
2024-07-27 02:38:31 -05:00
parent f59a4207c4
commit cb53b7b831
7 changed files with 48 additions and 27 deletions
+2 -3
View File
@@ -15,10 +15,9 @@ type CrashFilterApp interface {
AddCrash(IndividualCrash) bool
}
// Allows an app more flexibility by directly interfacing with the backend's mux
type ExtendedApp interface {
// Extension is called for any calls to /{appID}/
// Alternatively, use Backend.HandleFunc for more customizability
Extension(http.ResponseWriter, *http.Request)
Extension(*http.ServeMux)
}
type simpleApp struct {