Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Validator ¶
type Validator interface { ValidatePayload(*http.Request, []byte) ([]byte, apperrors.AppError) ParseWebHook(string, []byte) (interface{}, apperrors.AppError) GetToken() string }
Validator is an interface used to allow mocking the github library methods
func NewReceivingEventsWrapper ¶
NewReceivingEventsWrapper return receivingEventsWrapper struct
Click to show internal directories.
Click to hide internal directories.