lighthouse

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ActivityHandlerFunc

type ActivityHandlerFunc func(*lhv1alpha1.ActivityRecord) error

type Handler

type Handler struct {
	SecretToken string
	Logger      *logrus.Logger
	// contains filtered or unexported fields
}

func (*Handler) RegisterActivityHandler

func (h *Handler) RegisterActivityHandler(handler ActivityHandlerFunc)

func (*Handler) RegisterWebhookHandler

func (h *Handler) RegisterWebhookHandler(handler WebhookHandlerFunc)

func (*Handler) ServeHTTP

func (h *Handler) ServeHTTP(_ http.ResponseWriter, r *http.Request)

type WebhookHandlerFunc

type WebhookHandlerFunc func(scm.Webhook) error

Jump to

Keyboard shortcuts

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