Open yousong opened 3 months ago
Friendly ping.
I put the binary inside a alpine docker image (Link) and it's been running good for more than 2 weeks.
You need "github.com/jstaf/onedriver/cmd/common"
in the imports in cmd/onedriver/xdg.go
or else it doesn't build.
You need
"github.com/jstaf/onedriver/cmd/common"
in the imports incmd/onedriver/xdg.go
or else it doesn't build.
@tduck973564 Indeed. Thank you for the review. I added the line and tested the compilation. It should work now.
It seems onedrive graph API provides websocket (socket.io) endpoint for subscribing to "near-real-time change notifications for fetching delta" (Link)
I wrote a simple socket.io go client (Link) and integrated it with the onedriver client. It works. The delay of event notification is about 5-8 seconds.
The other 2 commits is not directly related to the "near-real-time change notification". I can re-organize them into another pull request if needed.