Commit Graph

3 Commits

Author SHA1 Message Date
Saxon ab71c2cb06 input/gvctrl/gvctrl-cli/main.go: added sub package gvctrl-cli under gvctrl
gvctrl-cli provides a command line interface for controlling the geovision camera. Good for
testing purposes.
2019-10-13 21:52:48 +10:30
Saxon afe136a51d input/gvctrl/gvctrl_test.go: added TestPopulateForm to test construction of settings form and fixed bugs 2019-10-13 12:42:31 +10:30
Saxon e56455f7d0 input/gvctrl: added Set function with functional options for controlling GeoVision
Added a file called gvctrl.go which holds all exported functions, including Set,
and the options available for use with Set. This file also holds important consts
and the settings struct. Also added a file called request.go, which houses 3
functions that are in charge of creating HTTP requests, firstly to get the log in
page from which a log in request body can be generated, then to submit the generated
log in request body, and then to submit the settings. Finally a utils.go file has
been added to house a few helper functions.
2019-10-11 20:24:44 +10:30