hooks

package
v0.0.0-...-ee22c8d Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2015 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

ircflu's web-hook subsystem.

Index

Constants

This section is empty.

Variables

View Source
var (
	Hooks []*Hook
)

Functions

func RegisterWebHook

func RegisterWebHook(hook Hook)

Types

type Hook

type Hook interface {
	Request(ctx *web.Context)

	SetMessageChan(channel chan msgsystem.Message)

	Name() string
	Path() string
}

Directories

Path Synopsis
A GitHub web-hook sending messages when new commits arrive.
A GitHub web-hook sending messages when new commits arrive.
A GitLab web-hook sending messages when new commits arrive.
A GitLab web-hook sending messages when new commits arrive.
A Jira web-hook sending messages when new commits arrive.
A Jira web-hook sending messages when new commits arrive.

Jump to

Keyboard shortcuts

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