package
0.0.0-20180212130509-f6958210d2e3
Repository: https://github.com/davars/gae.git
Documentation: pkg.go.dev
# Functions
HTTPRequest returns the http.Request object associated with the current Flex request Context.
NewConsoleLogger instantiates a new Logger instance that logs to STDERR.
ScopedRequestPanic returns the panic that a ScopedRequestHandler error hasl been tagged with.
WithLogger installs an instance of a logging.Logger that forwards logs to an underlying Stackdriver Logger into the supplied Context.
# Constants
DefaultFlexDebugLogName is the default value for Flex's DebugLogName field.
DefaultFlexRequestLogName is the default value for Flex's RequestLogName field.
# Variables
ErrNotImplemented is an error that can be returned to indicate that the requested functionality is not implemented.
LogIDRegexp is a regular expression that can be used to validate a Log ID.
TraceIDLogLabel is the label used to express a request's trace ID in Stackdriver LogEntry messages.
# Structs
Config is a full-stack cloud service configuration.
Flex defines a Google AppEngine Flex Environment platform.
GoogleServiceProvider is a ServiceProvider implementation that uses Google services.
InsertIDGenerator generates logging Insert IDs from a base key and an atomically-incrementing number.
LoggerConfig configures a Logger instance.
LogSeverityTracker tracks the highest observed log severity.
Request is the set of request-specific parameters.
ScopedRequestHandler offers a middleware functionality that adds AppEngine-like handling to individual requests.
# Interfaces
ServiceProvider is a set of functionality which can be used to fetch system data.
# Type aliases
HandlerFunc is a callback to handle the HTTP request.