|
|
|
|
|
by simme_
4290 days ago
|
|
They demonstrated an easy way to deploy a Go application utilizing Docker ( https://docker.com/ ) and Google App Engine.
The Docker Engine container comprises just the application and its dependencies. It runs as an isolated process in userspace on the host operating system, sharing the kernel with other containers. Thus, it enjoys the resource isolation and allocation benefits of VMs but is much more portable and efficient. If you take a look at the example's source at:
https://github.com/golang/example/blob/master/outyet/main.go You will notice, that they import
"net/http" Which implements an http server - that's all, see here for more details:
https://godoc.org/net/http
It is not necessary, nevertheless possible, to use something like nginx or apache in front of a Go web application. |
|