Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateAndRunPlug ¶ added in v0.0.3
func CreateAndRunPlug(handlers *[]options.CommandHandler) error
CreateAndRunPlug builds and runs a SmartPlug instance using the provided list of handlers.
It is designed for functional-style plugin declarations, where a slice of message-command handlers is passed in and automatically registered.
The function will block until the SmartPlug finishes execution and return any error reported during its lifecycle.
Types ¶
This section is empty.
Directories
¶
Path | Synopsis |
---|---|
Package client provides a standard PlugKit host implementation.
|
Package client provides a standard PlugKit host implementation. |
examples
|
|
Package plug provides the default runtime for a PlugKit-compatible plugin.
|
Package plug provides the default runtime for a PlugKit-compatible plugin. |
Click to show internal directories.
Click to hide internal directories.