Skip to content

drichardson/go-appengine-vm-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go App Engine Managed VM Examples

This repo contains 2 examples of App Engine Managed VMs: one using the standard runtime and one using a custom runtime.

Both projects make use of the App Engine Datastore and Google Cloud Storage services.

Both projects also make use of the Auto-generated Google APIs for Go.

All of the app logic is written in terms of context.Context, which allows for common deadlines and cancellation of request scoped work. Both the standard and custom runtimes will turn every request into one that takes a context.Context. The handler/ directory is responsible for this work.

Standard

Go Standard Managed VM Runtime

The standard runtime VM example is in the standard/ subdirectory. It uses the google.golang.org/appengine package. It passes control to the standard library by invoking appengine.Main().

Custom

Managed VM Custom Runtimes

The custom runtime VM example is in the custom/ subdirectory. It does NOT use the google.golang.org/appengine package.

About

Managed VM App Engine Example in Go

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published