notbot

command module
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2015 License: MIT Imports: 14 Imported by: 0

README

notbot

an IRC notification bot


notbot accepts POST requests from clients that wish to send notifications to an IRC channel.

Notifiers

Add new sources for IRC notifications by implementing the Notifier interface:

type Notifier interface {
        Notifications(*rest.Request) []string
}

There are currently three Notifiers: GitHub, GitLab and Sensu, each living under a route of the same name:

handler.SetRoutes(
        &rest.Route{"POST", "/github", Post},
        &rest.Route{"POST", "/gitlab", Post},
        &rest.Route{"POST", "/sensu", Post},
)

TODO

All the client to specify the target channel in the POST request.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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