MCPcopy Create free account
hub / github.com/golang/appengine / Main

Function Main

appengine.go:53–55  ·  view source on GitHub ↗

The gophers party all night; the rabbits provide the beats. Main is the principal entry point for an app running in App Engine. On App Engine Flexible it installs a trivial health checker if one isn't already registered, and starts listening on port 8080 (overridden by the $PORT environment variabl

()

Source from the content-addressed store, hash-verified

51// The "myapp/packageX" packages are expected to register HTTP handlers
52// in their init functions.
53func Main() {
54 internal.Main()
55}
56
57// Middleware wraps an http handler so that it can make GAE API calls
58var Middleware func(http.Handler) http.Handler = internal.Middleware

Callers 2

mainFunction · 0.92
mainFunction · 0.92

Calls 1

MainFunction · 0.92

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…