webhook

package
v1.13.0 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: MPL-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Webhook

type Webhook struct {
	Repository vcs_connection.Repository
}

func New

func New() Webhook

func (Webhook) Evaluate

func (w Webhook) Evaluate(c *gin.Context) bool

We'll always return true. Ths middleware should only be attached to webhook endpoints

func (Webhook) Handle

func (w Webhook) Handle(c *gin.Context) bool

Jump to

Keyboard shortcuts

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