Commit Graph

2 Commits

Author SHA1 Message Date
Saxon bab1a510b1 input/gvctrl/gvctrl.go: renamed convRate function to closestValStr to generalise and finished Refresh option function 2019-10-12 15:39:27 +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