package
Version:
v0.3.1
Opens a new window with list of versions in this module.
Published: Sep 15, 2018
License: GPL-3.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
¶
Package testweb provides an example webhook handler
Register installs this handler on bot.DefaultBot
TestWeb is a simple example of a handler that gets traffic from a web hook.
New create an instance of the example webhook handler.
func (*TestWeb) Command ¶
added in
v0.2.0
Command implements a simple command that returns the URL of the hook to the users.
Describe returns the name and description of the hook.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.