Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support of Google App Engine #10

Open
sebastienfr opened this issue Sep 27, 2016 · 0 comments
Open

support of Google App Engine #10

sebastienfr opened this issue Sep 27, 2016 · 0 comments

Comments

@sebastienfr
Copy link
Owner

To enable the support of Google App Engine insert the following code in your main :

func init() {
   err := InitLog(logLevel, logFormat)
   if err != nil {
       logger.WithField("error", err).Warn("error setting log level, using debug as default")
   }

   logger.Warn("Start")
   n, err := BuildWebServer()
   http.Handle("/", context.ClearHandler(n))    
}

Thanks to @ggarnotel for the report.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant