package
3.0.0-beta1+incompatible
Repository: https://github.com/seamlessdocsdev/phabulous.git
Documentation: pkg.go.dev
# Functions
CompileHandlers is a utility function for Connector implementations to process all the modules/commands provided into a mapping of HandlerTuples.
NewModuleFactory constructs a new instance of a ModuleFactory.
# Constants
IMMatcherType is used for all messages sent directly to the bot (private messages).
MentionMatcherType is used for messages in channels but that directly mention the bot's username.
RegularMatcherType is used for all regular messages (on channels usually) that do not mention the bot.
# Structs
HandlerTuple is a simple pairing of a regular expressions and a handler function to be called if it is matched with the input message.
ModuleFactory provides facilities for building sets of modules to be used in the chat server.
# Type aliases
MatcherType is the type of a matcher.
RegexBuilder is a function to be provided by Connector implementations while using CompileHeaders.