Back to / pkg / ui / webhooks

Package webhooks

Latest Go to latest

The highest tagged major version is .

Published: Sep 14, 2018 | License: Apache-2.0 | Module:


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


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

func New(c *coordinator.Coordinator) *Server

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.

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier