errbot.core_plugins.webserver module

class errbot.core_plugins.webserver.Webserver(*args, **kwargs)[source]

Bases: errbot.botplugin.BotPlugin

__init__(*args, **kwargs)[source]
activate()[source]
check_configuration(configuration)[source]
deactivate()[source]
echo(incoming_request)[source]

A simple test webhook

generate_certificate(_, args)[source]

Generate a self-signed SSL certificate for the Webserver

get_configuration_template()[source]
webhook_test(_, args)[source]
Test your webhooks from within err.

The syntax is : !webhook test [relative_url] [post content]

It triggers the notification and generate also a little test report.

webstatus(msg, args)[source]

Gives a quick status of what is mapped in the internal webserver

errbot.core_plugins.webserver.make_ssl_certificate(key_path, cert_path)[source]

Generate a self-signed certificate

The generated key will be written out to key_path, with the corresponding certificate itself being written to cert_path. :param cert_path: path where to write the certificate. :param key_path: path where to write the key.