handlers

package
v0.0.0-...-df1ecbf Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2016 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GitEventHandler

func GitEventHandler(w http.ResponseWriter, r *http.Request)

Github Event Headers:

  • X-GitHub-Event == PullRequestEvent
  • X-GitHub-Delivery == GUID of event
  • X-Hub-Signature == HMAC of the event body

func HealthEventHandler

func HealthEventHandler(w http.ResponseWriter, r *http.Request)

Types

type HealthInfo

type HealthInfo struct {
	Version     string       `json:"version,omitempty"`
	JenkinsUrl  string       `json:"jenkinsUrl,omitempty"`
	JenkinsUser string       `json:"jenkinsUser,omitempty"`
	Watches     []config.Job `json:"watches,omitempty"`
}

Jump to

Keyboard shortcuts

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