Convos::Plugin - Base class for Convos plugins
SYNOPSIS
package Convos::Plugin::CoolPlugin;
use Mojo::Base "Convos::Plugin";
sub register {
my ($self, $app, $config) = @_;
$app->core->backend->on(connection => sub {
my ($backend, $connection) = @_;
warn "New connection!";
});
}
DESCRIPTION
Convos::Plugin is the base class for Convos plugins, which all plugins need to inherit from.