Renamed "go" application type to "external".
There's nothing specific to Go language. This type of application object can be used to run any external application that utilizes libunit API.
This commit is contained in:
@@ -80,10 +80,10 @@ nxt_runtime_create(nxt_task_t *task)
|
||||
|
||||
/* Should not fail. */
|
||||
lang = nxt_array_add(rt->languages);
|
||||
lang->type = NXT_APP_GO;
|
||||
lang->type = NXT_APP_EXTERNAL;
|
||||
lang->version = (u_char *) "";
|
||||
lang->file = NULL;
|
||||
lang->module = &nxt_go_module;
|
||||
lang->module = &nxt_external_module;
|
||||
|
||||
listen_sockets = nxt_array_create(mp, 1, sizeof(nxt_listen_socket_t));
|
||||
if (nxt_slow_path(listen_sockets == NULL)) {
|
||||
|
||||
Reference in New Issue
Block a user