INNER CODE UNIT · Go

func

mweagle/Sparta · apigatewayv2.go:162

func (apiv2 *APIV2) NewConnectionTableDecorator(envTableNameKey string,
	propertyName string,
	readCapacity int64,
	writeCapacity int64) (*APIV2GatewayDecorator, error) {

	return &APIV2GatewayDecorator{
		envTableKeyName: envTableNameKey,
		propertyName:    propertyName,
		readCapacity:    readCapacity,
		writeCapacity:   writeCapacity,
	}, nil
}

// NewAPIV2Route returns a new Route
func (apiv2 *APIV2) NewAPIV2Route(routeKey APIV2RouteSelectionExpression,
	lambdaFn *LambdaAWSInfo) (*APIV2Route, error) {

	_, exists := apiv2.routes[routeKey]

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…