{"modulePath":"github.com/kyma-project/test-infra/development/github-slack-connector/githubWebhookGateway","version":"v0.0.0-20210528091155-95eb95378149","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package github\n\n## Types\n\n```go\ntype Validator interface {\n\tValidatePayload(*http.Request, []byte) ([]byte, apperrors.AppError)\n\tParseWebHook(string, []byte) (interface{}, apperrors.AppError)\n\tGetToken() string\n}\n```\nValidator is an interface used to allow mocking the github library methods\n\n```go\nfunc NewReceivingEventsWrapper(s string) Validator\n```\nNewReceivingEventsWrapper return receivingEventsWrapper struct\n\n","path":"github.com/kyma-project/test-infra/development/github-slack-connector/githubWebhookGateway/pkg/github","name":"github","synopsis":"","isRedistributable":true}
