mirror of
https://github.com/cwinfo/matterbridge.git
synced 2025-07-17 23:38:55 +00:00
Update vendor
This commit is contained in:
17
vendor/github.com/labstack/echo/cookbook/google-app-engine/app-engine.go
generated
vendored
Normal file
17
vendor/github.com/labstack/echo/cookbook/google-app-engine/app-engine.go
generated
vendored
Normal file
@ -0,0 +1,17 @@
|
||||
// +build appengine
|
||||
|
||||
package main
|
||||
|
||||
import (
|
||||
"net/http"
|
||||
|
||||
"github.com/labstack/echo"
|
||||
)
|
||||
|
||||
func createMux() *echo.Echo {
|
||||
e := echo.New()
|
||||
// note: we don't need to provide the middleware or static handlers, that's taken care of by the platform
|
||||
// app engine has it's own "main" wrapper - we just need to hook echo into the default handler
|
||||
http.Handle("/", e)
|
||||
return e
|
||||
}
|
Reference in New Issue
Block a user