Documentation ¶
Overview ¶
Package plugins provides a source for cchat services as Go plugins. This package looks in UserConfigDir()/cchat/plugins/ by default.
Usage ¶
The package can easily be used by just dash importing it:
_ "github.com/diamondburned/cchat/services/plugins"
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetPluginPath ¶
func SetPluginPath(path string)
SetPluginPath sets the plugin path before loading plugins. This only works until LoadPlugins is called.
func TryConfigPath ¶
TryConfigPath returns a path to $cfgDir/suffix. cfgDir is from os.UserConfigDir.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.