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.

Source Files