mirror of
https://github.com/PeernetOfficial/core.git
synced 2026-07-18 19:17:51 +01:00
added changes for progress bar with more logs and bug fixes, Documentation yet to be added
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user