Add documents on diags
Some checks failed
Build and Push Docker Image / build_and_push (push) Failing after 1m51s

This commit is contained in:
2025-02-10 16:17:20 +01:00
parent 023f5c735d
commit d0fc96f8bb
4 changed files with 115 additions and 4 deletions

View File

@@ -200,6 +200,8 @@ func main() {
application.HandleFunc("/vehicles/bookings/{bookingid}/create-diag", applicationHandler.VehicleBookingsCreateDiag)
//////////////////Diags////////////////////////
application.HandleFunc("/diags/", applicationHandler.DiagsHome)
application.HandleFunc("/diags/{diagid}/documents", applicationHandler.DiagsDocuments)
application.HandleFunc("/diags/{diagid}/documents/{document}", applicationHandler.DiagsDocumentDownload)
application.HandleFunc("/diags/{diagid}", applicationHandler.DiagsDisplayDiag)
application.HandleFunc("/diags/{diagid}/update", applicationHandler.DiagUpdate)
application.HandleFunc("/diags/{diagid}/delete", applicationHandler.DiagDelete)