# Functions
NewEvent initalises and populates a new ApiEvent with event details from a http.Request and isBase64Encoded value.
NewServerlessRouter creates a new instance of ServerlessRouter.
# Constants
No description provided by the author
# Variables
ErrNoEventsFound is thrown if a AWS::Serverless::Function is added to this router, but no API event sources exist for it.
No description provided by the author
# Structs
temporary object.
No description provided by the author
AWSServerlessApi wraps GoFormation's AWS::Serverless::Api definition and adds some convenience methods for extracting the ServerlessRouterMount's from the swagger defintion etc.
AWSServerlessFunction wraps GoFormation's AWS::Serverless::Function definition and adds some convenience methods for extracting the ServerlessRouterMount's from the event sources.
ContextIdentity represents the identity section of the context object that gets passed to an AWS Lambda function.
Event represents an event passed to an AWS Lambda function by the runtime.
No description provided by the author
RequestContext represents the context object that gets passed to an AWS Lambda function.
ServerlessRouter takes AWS::Serverless::Function and AWS::Serverless::API objects and creates a Go http.Handler with the correct paths/methods mounted.
ServerlessRouterMount represents a single mount point on the API Such as '/path', the HTTP method, and the function to resolve it.
# Type aliases
EventHandlerFunc is similar to Go http.Handler but it receives an event from API Gateway instead of http.Request.