Go: specifying command line arguments to the executable.

This closes #110 issue on GitHub.
This commit is contained in:
Valentin Bartenev
2018-06-06 16:53:35 +03:00
parent 857bddeea6
commit ceeb301881
4 changed files with 121 additions and 4 deletions

View File

@@ -178,6 +178,13 @@ static nxt_conf_map_t nxt_go_app_conf[] = {
NXT_CONF_MAP_CSTRZ,
offsetof(nxt_common_app_conf_t, u.go.executable),
},
{
nxt_string("arguments"),
NXT_CONF_MAP_PTR,
offsetof(nxt_common_app_conf_t, u.go.arguments),
},
};