Documentation
¶
Index ¶
Constants ¶
View Source
const Defaults = `` /* 228-byte string literal not displayed */
Defaults is a string representation of a JSON formatted default configuration for a Watcher instance.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Swapper ¶
type Swapper struct {
// contains filtered or unexported fields
}
Swapper is a struct that contains the threads and config values that can be used to run the StickerSwap Telegram bot. Use the 'NewSwapper' function to properly create a Swapper.
func New ¶
New returns a new Swapper instance based on the passed config file path. This function will preform any setup steps needed to start the Swapper. Once complete, use the 'Run' function to actually start the Swapper. This function allows for specifying the option to clear the database before starting.
Click to show internal directories.
Click to hide internal directories.