github

package
v0.3.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: May 29, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SupportedEvents = webhook.Events{
	Supported: map[string]webhook.Event{
		// contains filtered or unexported fields
	},
	EventTypeFieldPath: "_github_event_type",
}

Functions

func AddSourceToRouter

func AddSourceToRouter(ctx context.Context, cfg json.RawMessage, pg *pipeline.Group, router *swagger.Router[fiber.Handler, fiber.Router]) error

Types

type Config

type Config struct {
	WebhookPath    string       `json:"webhookPath"`
	Authentication webhook.HMAC `json:"authentication"`
}

func (*Config) Validate

func (c *Config) Validate() error

Jump to

Keyboard shortcuts

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