Documentation
¶
Index ¶
- Constants
- func AuthorizeAnalyticsRequest(log *logrus.Entry, ctx context.Context, request *events.APIGatewayProxyRequest) error
- func HTTPErrorResponse(log *logrus.Entry, status int, request *events.APIGatewayProxyRequest, ...) *events.APIGatewayProxyResponse
- func HTTPResponse(log *logrus.Entry, status int, request *events.APIGatewayProxyRequest, ...) *events.APIGatewayProxyResponse
- func HTTPResponseRaw(log *logrus.Entry, status int, body string) *events.APIGatewayProxyResponse
Constants ¶
View Source
const (
HeaderAPIKey = "x-al-api-key"
)
Variables ¶
This section is empty.
Functions ¶
func AuthorizeAnalyticsRequest ¶ added in v3.5.2
func HTTPErrorResponse ¶
func HTTPErrorResponse(log *logrus.Entry, status int, request *events.APIGatewayProxyRequest, err error) *events.APIGatewayProxyResponse
func HTTPResponse ¶
func HTTPResponse(log *logrus.Entry, status int, request *events.APIGatewayProxyRequest, body interface{}) *events.APIGatewayProxyResponse
func HTTPResponseRaw ¶ added in v3.2.1
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.