pluginloader

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ReadyPlugin

type ReadyPlugin struct {
	File string

	Commands       []types.Command
	CommandChannel chan types.ParsedCommand
	// contains filtered or unexported fields
}

func LoadPlugins

func LoadPlugins(plugindir string, pluginExtension string, pluginGracePeriodSeconds uint, logger interfaces.LoggerInterface,
	slackMessageChannel chan<- types.OutgoingSlackMessage, wg *sync.WaitGroup, ctx context.Context) ([]*ReadyPlugin, error)

Jump to

Keyboard shortcuts

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