webhooks

package
v0.0.0-...-19ee04f Latest Latest
Warning

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

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

Documentation

Overview

Package webhooks implements the public interface used to communicate with Github.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	// contains filtered or unexported fields
}

Server implements the webhooks part of the CI service. For now, compatible only with Github Webhooks.

func New

New creates a new web-facing server.

func (*Server) ServeContext

func (s *Server) ServeContext(ctx context.Context, l net.Listener) error

ServeContext handles the HTTP requests.

Jump to

Keyboard shortcuts

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