File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -20,13 +20,13 @@ import (
20
20
)
21
21
22
22
const (
23
- // FuContextHeader is the custom header key used to store the
23
+ // FnURLContextHeader is the custom header key used to store the
24
24
// Function Url context. To access the Context properties use the
25
- // GetFunctionURLContext method of the RequestAccessorFu object.
25
+ // GetFunctionURLContext method of the RequestAccessorFnURL object.
26
26
FnURLContextHeader = "X-GoLambdaProxy-Fu-Context"
27
27
)
28
28
29
- // RequestAccessorFu objects give access to custom API Gateway properties
29
+ // RequestAccessorFnURL objects give access to custom API Gateway properties
30
30
// in the request.
31
31
type RequestAccessorFnURL struct {
32
32
stripBasePath string
@@ -193,7 +193,7 @@ func GetFunctionURLContextFromContext(ctx context.Context) (events.LambdaFunctio
193
193
return v .FunctionURLProxyContext , ok
194
194
}
195
195
196
- // GetRuntimeContextFromContextFu retrieve Lambda Runtime Context from context.Context
196
+ // GetRuntimeContextFromContextFnURL retrieve Lambda Runtime Context from context.Context
197
197
func GetRuntimeContextFromContextFnURL (ctx context.Context ) (* lambdacontext.LambdaContext , bool ) {
198
198
v , ok := ctx .Value (ctxKey {}).(requestContextFnURL )
199
199
return v .lambdaContext , ok
You can’t perform that action at this time.
0 commit comments