Sync from and to server
This commit is contained in:
parent
e07258e014
commit
25179ffd15
6 changed files with 125 additions and 76 deletions
3
main.go
3
main.go
|
|
@ -124,7 +124,8 @@ func main() { // {{{
|
|||
|
||||
http.HandleFunc("/user/authenticate", AuthManager.AuthenticationHandler)
|
||||
|
||||
http.HandleFunc("/sync/node/{sequence}/{offset}", authenticated(actionSyncNode))
|
||||
http.HandleFunc("/sync/from_server/{sequence}/{offset}", authenticated(actionSyncNode))
|
||||
http.HandleFunc("/sync/to_server/{client}", authenticated(actionSyncNode))
|
||||
|
||||
http.HandleFunc("/node/retrieve/{uuid}", authenticated(actionNodeRetrieve))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue