dvrweb

command module
v0.0.0-...-ece7421 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2016 License: GPL-3.0 Imports: 5 Imported by: 0

README

Usage of dvrWebServer Rest Service

Deleting a server

Make a "DELETE" call to 8088 port with the link [/dvr/:name/delete] linkDel

  • :name represents the name of the desired entry

Updating server status

Make a "POST" call to 8088 port with the link [/dvr/:name/:newstatus/update] linkPost

  • :name represents the name ofthe desired server
  • :newstatus represents the desired status to attend to server
  • "alive" and "dead" are avalilable as status

Getting server list

Make a "GET" call to 8088 port with the link [/dvr/:query/query] linkGet

  • :query can be "all" and "alive"

Adding new server

Make a "PUT" call to 8088 port with the link [/dvr/:name/:ipstring/:version/:status/add] linkPut

  • :name is the given name to server
  • :version represents the version number running on that server
  • :status represents the current status of the server

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package dvrDbOps provides database interactions for dvr database Includes basic CRUD functions as well as initializing the database upon init
Package dvrDbOps provides database interactions for dvr database Includes basic CRUD functions as well as initializing the database upon init

Jump to

Keyboard shortcuts

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