package
0.0.0-20240404121558-5fb48e90bf53
Repository: https://github.com/gobridge/gopherbot.git
Documentation: pkg.go.dev
# Functions
New returns a new *I or an error.
# Constants
SlackChannelJoin is the Event for a channel (public or private) join Slack event.
SlackMessageAppHome is the Event for a message with a channel_type of "app_home".
SlackMessageChannel is the Event for a message with a channel_type of "channel".
SlackMessageGroup is the Event for a message with a channel_type of "group", aka a private channel.
SlackMessageIM is the Event for a message with a channel_type of "im", aka a DM.
SlackMessageMPIM is the Event for a message with a channel_type "mpim", aka a group DM.
SlackTeamJoin is the Event for a team (workspace) join Slack event.
# Structs
Config is the I configuration.
EventMetadata represents the metadata about the event.
I is the workqueue struct, which satisfies Q.
# Interfaces
ChannelSvc is an interface providing the channel service.
Context is a superset of context.Context, including methods needed by workqueue handler authors.
Publisher is the interface for the workqueue publish behavior.
Q is an interface to describe the entirety of the workqueue.
Registerer is the interface for handler registrations within the workqueue.
# Type aliases
ChannelJoinHandler is the handler for member_joined_channel Slack events, used when a member joins a channel.
Event matches external event types to the Redis stream names we're using.
MessageHandler is the handler for public Slack messages.
TeamJoinHandler is the handler for team_join Slack events, used when a new member joins the workspace.