added changes for progress bar with more logs and bug fixes, Documentation yet to be added

This commit is contained in:
2023-05-05 18:31:08 +01:00
parent c60b75bd3b
commit 201a5441bb
7 changed files with 65 additions and 46 deletions

View File

@@ -42,6 +42,13 @@ type WebapiInstance struct {
uploadsMutex sync.RWMutex
}
// API error
// This follows the same format as the logger
type errorResponse struct {
function string
error string
}
// WSUpgrader is used for websocket functionality. It allows all requests.
var WSUpgrader = websocket.Upgrader{
ReadBufferSize: 1024,