Packages: making unit-go architecture independent.

To support Go modules, the unit-go module should be platform independent.
All platform-dependent logic is moved to libunit, so the unit-dev package
should be installed before building unit-go.
This commit is contained in:
Max Romanov
2019-12-24 17:59:44 +03:00
parent 823f658c77
commit 3d712a7078
19 changed files with 17 additions and 457 deletions

View File

@@ -1,15 +0,0 @@
{
"applications": {
"example_go": {
"type": "external",
"user": "nobody",
"executable": "/tmp/go1.10-app"
}
},
"listeners": {
"*:8500": {
"pass": "applications/example_go"
}
}
}

View File

@@ -1,15 +0,0 @@
{
"applications": {
"example_go": {
"type": "external",
"user": "nobody",
"executable": "/tmp/go1.11-app"
}
},
"listeners": {
"*:8500": {
"pass": "applications/example_go"
}
}
}

View File

@@ -1,15 +0,0 @@
{
"applications": {
"example_go": {
"type": "external",
"user": "nobody",
"executable": "/tmp/go1.12-app"
}
},
"listeners": {
"*:8500": {
"pass": "applications/example_go"
}
}
}

View File

@@ -1,15 +0,0 @@
{
"applications": {
"example_go": {
"type": "external",
"user": "nobody",
"executable": "/tmp/go1.13-app"
}
},
"listeners": {
"*:8500": {
"pass": "applications/example_go"
}
}
}

View File

@@ -1,15 +0,0 @@
{
"applications": {
"example_go": {
"type": "external",
"user": "nobody",
"executable": "/tmp/go1.7-app"
}
},
"listeners": {
"*:8500": {
"pass": "applications/example_go"
}
}
}

View File

@@ -1,15 +0,0 @@
{
"applications": {
"example_go": {
"type": "external",
"user": "nobody",
"executable": "/tmp/go1.8-app"
}
},
"listeners": {
"*:8500": {
"pass": "applications/example_go"
}
}
}

View File

@@ -1,15 +0,0 @@
{
"applications": {
"example_go": {
"type": "external",
"user": "nobody",
"executable": "/tmp/go1.9-app"
}
},
"listeners": {
"*:8500": {
"pass": "applications/example_go"
}
}
}