github

package
v0.0.0-...-5905c11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 21, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

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, apperrors.AppError)
	ParseWebHook(string, []byte) (interface{}, apperrors.AppError)
}

Validator is an interface used to allow mocking the github library methods

func NewReceivingEventsWrapper

func NewReceivingEventsWrapper(s string) Validator

NewReceivingEventsWrapper return receivingEventsWrapper struct

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL