package
0.0.0-20241227120803-7779d3b45fce
Repository: https://github.com/isometry/gh-promotion-app.git
Documentation: pkg.go.dev

# Packages

Package processor provides a generic interface for processing requests using a list of processors.

# Functions

NewPromotionHandler creates a new promotion handler instance.
WithAuthMode sets the authentication mode for the handler.
WithContext sets the context for the handler.
WithLambdaPayloadType sets the lambda payload type for a Handler instance.
WithLogger sets the logger instance for the handler.
WithSSMKey sets the SSM key for retrieving credentials and adds it as an option to the handler configuration.
WithToken sets the GitHub token used for authentication in the handler.
WithWebhookSecret configures the handler with a webhook secret for request validation.

# Structs

Handler is the main handler for the promotion app.
NoCredentialsError indicates that no credentials were provided or found when required for an operation.
NoEventTypeError represents an error indicating that no event type was found.
NoInstallationIDError represents an error indicating that an installation ID is missing or not found.

# Type aliases

Option is a functional option for the handler.