Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/songmu/p5-mackerel-webhook-receiver
https://github.com/songmu/p5-mackerel-webhook-receiver
Last synced: 12 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/songmu/p5-mackerel-webhook-receiver
- Owner: Songmu
- License: other
- Created: 2014-09-23T14:41:35.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-07-27T06:00:51.000Z (over 9 years ago)
- Last Synced: 2024-11-06T01:02:37.619Z (2 months ago)
- Language: Perl
- Size: 133 KB
- Stars: 5
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: Changes
- License: LICENSE
Awesome Lists containing this project
README
# NAME
Mackerel::Webhook::Receiver - Mackerel Webhook receiving server
# SYNOPSIS
use Mackerel::Webhook::Receiver;
my $receiver = Mackerel::Webhook::Receiver->new;
$receiver->on(alert => sub {
my ($event, $req) = @_;
warn $event->event;
my $payload = $event->payload;
});
my $psgi = $receiver->to_app;
$receiver->run;# DESCRIPTION
Mackerel::Webhook::Receiver is utility for creating a server receiving
Mackerel Webhooks and processing something jobs.# LICENSE
Copyright (C) Songmu.
This library is free software; you can redistribute it and/or modify
it under the same terms as Perl itself.# AUTHOR
Songmu