backupserver

command
v0.0.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 9, 2019 License: GPL-3.0 Imports: 4 Imported by: 0

README

Backup Server

Backup Service

Wallet                 Backup Service
  +                         +
  |       /register         |
  +------------------------>+
  |        200 OK           |
  +<------------------------+
  |                         |
  |                         |
  |      /backup/upload     |
  +------------------------>+
  |        200 OK           |
  +<------------------------+
  |                         |
  |                         |
  |      /backup/download   |
  +------------------------>+
  |        {backup}         |
  +<------------------------+
  |                         |
  +                         +
Endpoints
  • POST /register

    • in:
    {
        username: "",
        password: ""
    }
    
    • out:
    200 OK
    
  • POST /backup/upload

    • in:
    {
        username: "",
        password: ""
        backup: "base64"
    }
    
    • out:
    200 OK
    
  • POST /backup/download

    • in:
    {
        username: "",
        password: ""
    }
    
    • out:
    {
        backup: "base64"
    }
    
  • ERROR

    • out:
    {
        error: "msg"
    }
    

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL