Documentation ¶
Index ¶
Constants ¶
View Source
const APIGatewayProxyRequestKey key = 0
APIGatewayProxyRequestKey is the context key
Variables ¶
This section is empty.
Functions ¶
func GetProxyEvent ¶
func GetProxyEvent(r *http.Request) *events.APIGatewayProxyRequest
GetProxyEvent returns the proxy event for the request
func NewRequest ¶
func NewRequest(event events.APIGatewayProxyRequest) (request *http.Request, err error)
NewRequest returns a new *http.Request for the APIGatewayProxyRequest event
Types ¶
type Response ¶
type Response struct { events.APIGatewayProxyResponse // contains filtered or unexported fields }
Response defines a struct that conforms to the API Gateway Labmbda Response
func (*Response) WriteHeader ¶
WriteHeader implements the http.ResponseWriter.WriteHeader() method
Click to show internal directories.
Click to hide internal directories.