{"modulePath":"github.com/aws/aws-lambda-runtime-interface-emulator","version":"v0.0.0-20261030222936-bef5c4ba774d","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package middleware\n\n## Functions\n\n```go\nfunc AccessLogMiddleware() func(next http.Handler) http.Handler\n```\nAccessLogMiddleware writes api access log.\n\n```go\nfunc AgentUniqueIdentifierHeaderValidator(next http.Handler) http.Handler\n```\nAgentUniqueIdentifierHeaderValidator validates that the request contains a valid agent unique identifier in the headers\n\n```go\nfunc AllowIfExtensionsEnabled(next http.Handler) http.Handler\n```\n\n```go\nfunc AppCtxMiddleware(appCtx appctx.ApplicationContext) func(next http.Handler) http.Handler\n```\nAppCtxMiddleware injects application context into request context.\n\n```go\nfunc AwsRequestIDValidator(next http.Handler) http.Handler\n```\nAwsRequestIDValidator validates that {awsrequestid} parameter is present in the URL and matches to the currently active id.\n\n```go\nfunc RuntimeReleaseMiddleware() func(next http.Handler) http.Handler\n```\nRuntimeReleaseMiddleware places runtime\\_release into app context.\n\n","path":"github.com/aws/aws-lambda-runtime-interface-emulator/internal/lambda/rapi/middleware","name":"middleware","synopsis":"","isRedistributable":true}
