Documentation
¶
Index ¶
- Variables
- func RegisterPostProc(name string, pp func(s string) (rv string, err error))
- func RunCmdClosure(cmdName string, params []string) func(w http.ResponseWriter, r *http.Request)
- func RunCmdImpl(cmdName string, argList, values []string) (out string, err error)
- func RunCmdInternal(cmdName string, params []string) (out string, status int, err error)
- func Setup(cfg *RunCmdConfigType, dbf map[string]bool, lfp *os.File, gt string)
- func SetupEndpoints(mux *ymux.ServeMux)
- type RunCmdConfigType
Constants ¶
This section is empty.
Variables ¶
View Source
var GitCommit string
Functions ¶
func RegisterPostProc ¶
func RunCmdClosure ¶
func RunCmdInternal ¶
func Setup ¶
-------------------------------------------------------------------------------------------------------------------------------------------------------------
func SetupEndpoints ¶
Types ¶
type RunCmdConfigType ¶
-------------------------------------------------------------------------------------------------------------------------------------------------------------
, "run_cmd": {
"poipoi": {
"_api_": "/v1/run"
"_cmd_": "./bin/test-poipoi.sh"
,"_params_": "in,out,data"
, "in": "{{.in}}"
, "out": "{{.out}}"
, "data": "{{.data}}"
}
}
Click to show internal directories.
Click to hide internal directories.