hooks

package
v0.0.0-...-31a8ea0 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2020 License: MIT Imports: 5 Imported by: 4

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