This PR brings a new functionality asked in #70. Since the main focus is using the provided JSON-RPC interface the REST one will only bring limited funtionalities.
The backend side has been entirely refactor starting from the last PR: fiber has been dropped for the standard library http package.
The reason behind this is because fiber was used soley for it's nice WebSockets API. Since I found gorilla's websockets which seamlessly integrates with the http package it was a no brainer.
Moreover I don't like the philosophy behind fasthttp package. ðŸ¤
Frontend side sees an improved rendering performance by cutting some unecessary useStates.
Anyhow is planned to migrate from redux to recoil or another atom base state manager to squeeze more performance.
Update: downloads REST API
Hello ✋,
This PR brings a new functionality asked in #70. Since the main focus is using the provided JSON-RPC interface the REST one will only bring limited funtionalities.
Group: /api/v1
Examples
Start a download using /exec:
Body
Returns The id of the download.
Refactor
The backend side has been entirely refactor starting from the last PR: fiber has been dropped for the standard library http package.
The reason behind this is because fiber was used soley for it's nice WebSockets API. Since I found gorilla's websockets which seamlessly integrates with the http package it was a no brainer. Moreover I don't like the philosophy behind fasthttp package. ðŸ¤
Frontend side sees an improved rendering performance by cutting some unecessary useStates.
Anyhow is planned to migrate from redux to recoil or another atom base state manager to squeeze more performance.
Hopefully closes #70. 😎