A simple sync solution in go
There is a client and a server communicating together. the gonetsync instance works as client and server. When started it listens
Just a short description how this very simple API works between the client and the server.
- Client sends a GET to the server with the filepath
- Path: /server/file/{package}?filepath=...
- Server answers if file exists or not. If the file already exists on the server the fileInfo is sent, too.
- Client decides to send or not to send the file via PUT
- Path /client/file/{package}/{filepath}