bacotell

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 6, 2023 License: GPL-3.0 Imports: 14 Imported by: 0

Documentation

Overview

Package bacotell provides the BacoTell entrypoint and the core subsystems of the framework.

Index

Constants

View Source
const (
	Version         = "v1.0.0"
	ProtocolVersion = 1 // Must be equal to major version.

	ConfigBotName   = "bot_name"
	ConfigBotToken  = "bot_token"
	ConfigPluginDir = "plugin_dir"
	ConfigLogFile   = "log_file"
	ConfigLogLevel  = "log_level"
)

Variables

This section is empty.

Functions

func Debug

func Debug(token string, reattachConfig *plugin.ReattachConfig)

Debug starts BacoTell in debug mode.

func HandshakeConfig

func HandshakeConfig() plugin.HandshakeConfig

HandshakeConfig returns the handshake configuration for the plugin.

func InitConfig

func InitConfig()

InitConfig sets default values for viper config entries.

func PluginMap

func PluginMap(pluginImpl common.Plugin) plugin.PluginSet

PluginMap returns the plugin map for the given plugin implementation (may be nil).

func Run

func Run()

Run starts BacoTell.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL