bot

package module
v0.0.0-...-8ee1b05 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2015 License: MIT Imports: 10 Imported by: 0

README

[options="header"]
|===
|Continuous Integration|Static Analysis|Coverage|Chat
|image:https://travis-ci.org/spohnan/ci-bot-01.svg?branch=master["Build Status", link="https://travis-ci.org/spohnan/ci-bot-01", window="_blank"]|image:http://goreportcard.com/badge/spohnan/ci-bot-01["Go Report Card",link="http://goreportcard.com/report/spohnan/ci-bot-01", window="_blank"]|image:https://coveralls.io/repos/spohnan/ci-bot-01/badge.svg?branch=master&service=github["Coverage Status", link="https://coveralls.io/github/spohnan/ci-bot-01?branch=master", window="_blank"]|image:https://badges.gitter.im/Join%20Chat.svg[link="https://gitter.im/spohnan/ci-bot-01?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge", window="_blank"]
|===

=== Automated GitHub Interactions

Documentation

Overview

Package bot is the top level container for ci-bot-01 code

Package bot is the top level container for ci-bot-01 code

Package bot is the top level container for ci-bot-01 code

Package bot is the top level container for ci-bot-01 code

Package bot is the top level container for ci-bot-01 code

Package bot is the top level container for ci-bot-01 code

Index

Constants

View Source
const (
	// HealthOK is a really simple value to indicate the health of the application
	HealthOK = "OK"
)

Variables

This section is empty.

Functions

func IsRequestAuthorized

func IsRequestAuthorized(addr string) bool

IsRequestAuthorized checks to see if the requesting IP address has been allowed explicitly or as part of a CIDR range

func WebHookRouter

func WebHookRouter(r *http.Request)

WebHookRouter accepts a request sent by the GitHub webhooks API server, identifies the type of webhook and then sends to the proper intenral handler

Types

type WebHookType

type WebHookType int

WebHookType represents the subset of GitHub web hooks activities on which we wish to take action

Jump to

Keyboard shortcuts

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