{"modulePath":"github.com/cruxstack/github-ops-app","version":"v0.4.0","isLatest":false,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package main\n\nPackage main provides the AWS Lambda entry point for the GitHub bot. This Lambda handler supports API Gateway HTTP API (v2.0) and EventBridge (scheduled sync) events.\n\n## Functions\n\n```go\nfunc APIGatewayHandler(ctx context.Context, req awsevents.APIGatewayV2HTTPRequest) (awsevents.APIGatewayV2HTTPResponse, error)\n```\nAPIGatewayHandler processes incoming API Gateway HTTP API (v2.0) requests. handles GitHub webhook events, status checks, and config endpoints. validates webhook signatures before processing events.\n\n```go\nfunc EventBridgeHandler(ctx context.Context, evt awsevents.CloudWatchEvent) error\n```\nEventBridgeHandler processes EventBridge scheduled events. typically handles scheduled Okta group sync operations.\n\n```go\nfunc UniversalHandler(ctx context.Context, event json.RawMessage) (any, error)\n```\nUniversalHandler detects the event type and routes to the appropriate handler. supports API Gateway HTTP API (v2.0) and EventBridge events.\n\n","path":"github.com/cruxstack/github-ops-app/cmd/lambda","name":"main","synopsis":"Package main provides the AWS Lambda entry point for the GitHub bot.","isRedistributable":true}
