Back to godoc.org
cirello.io/cci / pkg / ui / webhooks

Package webhooks

v0.0.0-...-4cca993
Latest Go to latest

The highest tagged major version is .

Published: Sep 14, 2018 | License: Apache-2.0 | Module: cirello.io/cci

Overview

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

Index

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