webhookhandler

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: May 12, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHandler

func NewHandler(cfg *config.SCM, group *gin.RouterGroup, uc *webhookuc.WebHookUseCase)

Types

type Handler

type Handler struct {
	*githubevents.EventHandler
	// contains filtered or unexported fields
}

func (*Handler) HandleEvents

func (h *Handler) HandleEvents(c *gin.Context)

HandleEvents godoc @Summary Endpoint for GitHub webhooks @Description Endpoint for GitHub webhooks @Tags webhook @Accept json @Success 200 @Router /webhooks [post]

func (*Handler) RegisterGitHubHooks

func (h *Handler) RegisterGitHubHooks()

Jump to

Keyboard shortcuts

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