vendor: update dependencies to latest
This commit is contained in:
parent
58f7141c96
commit
89625e54cf
173 changed files with 4954 additions and 2224 deletions
18
vendor/google.golang.org/appengine/appengine.go
generated
vendored
18
vendor/google.golang.org/appengine/appengine.go
generated
vendored
|
@ -60,6 +60,24 @@ func IsDevAppServer() bool {
|
|||
return internal.IsDevAppServer()
|
||||
}
|
||||
|
||||
// IsStandard reports whether the App Engine app is running in the standard
|
||||
// environment. This includes both the first generation runtimes (<= Go 1.9)
|
||||
// and the second generation runtimes (>= Go 1.11).
|
||||
func IsStandard() bool {
|
||||
return internal.IsStandard()
|
||||
}
|
||||
|
||||
// IsFlex reports whether the App Engine app is running in the flexible environment.
|
||||
func IsFlex() bool {
|
||||
return internal.IsFlex()
|
||||
}
|
||||
|
||||
// IsAppEngine reports whether the App Engine app is running on App Engine, in either
|
||||
// the standard or flexible environment.
|
||||
func IsAppEngine() bool {
|
||||
return internal.IsAppEngine()
|
||||
}
|
||||
|
||||
// NewContext returns a context for an in-flight HTTP request.
|
||||
// This function is cheap.
|
||||
func NewContext(req *http.Request) context.Context {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue