Documentation ¶
Index ¶
- func AccessLogMiddleware() func(next http.Handler) http.Handler
- func AgentUniqueIdentifierHeaderValidator(next http.Handler) http.Handler
- func AllowIfExtensionsEnabled(next http.Handler) http.Handler
- func AppCtxMiddleware(appCtx appctx.ApplicationContext) func(next http.Handler) http.Handler
- func AwsRequestIDValidator(next http.Handler) http.Handler
- func RuntimeReleaseMiddleware() func(next http.Handler) http.Handler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AccessLogMiddleware ¶
AccessLogMiddleware writes api access log.
func AgentUniqueIdentifierHeaderValidator ¶
AgentUniqueIdentifierHeaderValidator validates that the request contains a valid agent unique identifier in the headers
func AppCtxMiddleware ¶
AppCtxMiddleware injects application context into request context.
func AwsRequestIDValidator ¶
AwsRequestIDValidator validates that {awsrequestid} parameter is present in the URL and matches to the currently active id.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.