{"modulePath":"github.com/codingdiaz/circleci-feedback","version":"v0.0.0-20190929162821-2baebd5258d4","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package githubapp\n\nPackage githubapp provides helper functions for githubapp actions primarily when you run a githubapp in API Gateway / Lambda\n\n## Functions\n\n```go\nfunc NewGithubClient(integrationID, installationID int, privateKey []byte) (*github.Client, error)\n```\nNewGithubClient returns an authenticated GithubClient from the go-github package This is to be used for github app authorization\n\n```go\nfunc ValidateRequest(r events.APIGatewayProxyRequest, webhookSecret string) error\n```\nValidateRequest verifies the request is a GitHub webhook event and verifies the request with a secret\n\n","path":"github.com/codingdiaz/circleci-feedback/pkg/githubapp","name":"githubapp","synopsis":"Package githubapp provides helper functions for githubapp actions primarily when you run a githubapp in API Gateway / Lambda","isRedistributable":true}
