Skip to content

Commit 6026f9d

Browse files
committed
updatecomments
1 parent e95b7bb commit 6026f9d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

core/requestFnURL.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ import (
2020
)
2121

2222
const (
23-
// FuContextHeader is the custom header key used to store the
23+
// FnURLContextHeader is the custom header key used to store the
2424
// Function Url context. To access the Context properties use the
25-
// GetFunctionURLContext method of the RequestAccessorFu object.
25+
// GetFunctionURLContext method of the RequestAccessorFnURL object.
2626
FnURLContextHeader = "X-GoLambdaProxy-Fu-Context"
2727
)
2828

29-
// RequestAccessorFu objects give access to custom API Gateway properties
29+
// RequestAccessorFnURL objects give access to custom API Gateway properties
3030
// in the request.
3131
type RequestAccessorFnURL struct {
3232
stripBasePath string
@@ -193,7 +193,7 @@ func GetFunctionURLContextFromContext(ctx context.Context) (events.LambdaFunctio
193193
return v.FunctionURLProxyContext, ok
194194
}
195195

196-
// GetRuntimeContextFromContextFu retrieve Lambda Runtime Context from context.Context
196+
// GetRuntimeContextFromContextFnURL retrieve Lambda Runtime Context from context.Context
197197
func GetRuntimeContextFromContextFnURL(ctx context.Context) (*lambdacontext.LambdaContext, bool) {
198198
v, ok := ctx.Value(ctxKey{}).(requestContextFnURL)
199199
return v.lambdaContext, ok

0 commit comments

Comments
 (0)