http

package
v1.9.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 1, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewResponse

func NewResponse(proxy *events.APIGatewayProxyResponse) (*http.Response, error)

Types

type Request

type Request http.Request

func (*Request) AuthorizerRequest

func (r *Request) AuthorizerRequest() *events.APIGatewayCustomAuthorizerRequest

func (*Request) ProxyRequest

func (r *Request) ProxyRequest(route *gateway.Route, authorizer map[string]interface{}, body io.ReadCloser) (*events.APIGatewayProxyRequest, error)

Request converts to http.Request apigw doesn't include the function name in the URI segments

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL