receiver

package
v0.1.15 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 9, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApiGateway added in v0.1.15

type ApiGateway interface {
	HandleAPIGatewayEvent(event events.APIGatewayProxyRequest) *lowcodeattribute.ExecutionResponse
}

type DynamoDB added in v0.1.15

type DynamoDB interface {
	HandleDynamoDBEvent(event events.DynamoDBEvent) string
}

type SNS added in v0.1.15

type SNS interface {
	HandleSNSEvent(event events.SNSEvent) string
}

type SQS added in v0.1.15

type SQS interface {
	HandleSQSEvent(event events.SQSEvent) string
}

type Settings added in v0.1.15

type Settings config.Settings

Conf refers to the lambda function's configuration, containing all the necessary information about the request, database, and response parameters that the client uses to orchestrate requests.

func (*Settings) HandleAPIGatewayEvent added in v0.1.15

func (s *Settings) HandleAPIGatewayEvent(event events.APIGatewayProxyRequest) *lowcodeattribute.ExecutionResponse

handleAPIGatewayEvent é uma função interna que valida a requisição recebida do gateway e direciona a ação solicitada de acordo com o método http recebido.

É importante destacar, que apenas os métodos http indicados como permitido na configuração da função serão permitidos.

Caso o método enviado não seja suportado pela função ainda, ela responderá com um código 400

func (*Settings) HandleDynamoDBEvent added in v0.1.15

func (s *Settings) HandleDynamoDBEvent(event events.DynamoDBEvent) string

func (*Settings) HandleSNSEvent added in v0.1.15

func (s *Settings) HandleSNSEvent(event events.SNSEvent) string

func (*Settings) HandleSQSEvent added in v0.1.15

func (s *Settings) HandleSQSEvent(event events.SQSEvent) string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL