package
0.0.0-20250210170423-3d97734d3a04
Repository: https://github.com/target/flottbot.git
Documentation: pkg.go.dev
# Functions
GenerateMessageID generates a random ID for a message.
MessageTimestamp timestamps the message.
NewBot creates a new Bot instance.
NewMessage creates a new message with initialized fields.
# Constants
Supported MessageServices.
Supported MessageServices.
Supported MessageServices.
Supported MessageServices.
Supported MessageTypes.
Supported MessageTypes.
Supported MessageTypes.
Supported MessageTypes.
# Structs
Action defines the structure for Actions used within Rules.
Auth is a basic Auth data structure.
Bot is a struct representation of bot.yml.
DiscordConfig is a support struct that holds DiscordConfig specific data.
HTTPResponse base HTTP response data structure.
Message is the struct of the main data structure being passed around for each message generated.
Remotes is a struct that holds data for various remotes.
Rule is a struct representation of the .yml rules.
ScriptResponse is the base response data type for Scripts.
SlackConfig is a support struct that holds Slack specific data.
# Type aliases
MessageService is used to differentiate between different message services.
MessageType is used to differentiate between different message types.