Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddHandler ¶
func AddHandler(w http.ResponseWriter, req *http.Request)
AddHandler gets sent form data from the cli. The form data includes the name of the executable binary or script being sent and the contents of the executable binary or script being sent. It then hashes the contents of the executable binary or script and writes the contents to test/binaries/hash. Lastly it adds a symbolic link to test/defaut/givenname. That link links test/binaries/hash and test/default/givenname.
func ListHandler ¶
func ListHandler(w http.ResponseWriter, req *http.Request)
func RunHandler ¶
func RunHandler(w http.ResponseWriter, req *http.Request)
RunHandler processes a run request. A run request is an HTTP POST that has a body of "binary" which represents the binary to... run.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.