Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Routes = []httpapi.Route{ httpapi.Route{ Method: "GET", Path: "/status", Handler: agentStatus, }, httpapi.Route{ Method: "GET", Path: "/key", Handler: agentKey, }, httpapi.Route{ Method: "POST", Path: "/jobs", Handler: newJob, }, httpapi.Route{ Method: "GET", Path: "/jobs", Handler: jobList, }, httpapi.Route{ Method: "GET", Path: "/jobs/:id", Handler: jobStatus, }, httpapi.Route{ Method: "DELETE", Path: "/jobs/:id", Handler: cancelJob, }, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.