Documentation ¶
Index ¶
Constants ¶
View Source
const InitializePluginFunc = "Initialize"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PluginInitialize ¶
type PluginInitialize func() (plugins.SubnetManagerClient, error)
PluginInitialize is function type to Initizalize the sm plugin. It returns sm plugin instance.
type PluginLoader ¶
type PluginLoader interface { // LoadPlugin loads go plugin from given path with given symbolName which is the variable needed to be extracted. LoadPlugin(path, symbolName string) (PluginInitialize, error) }
func NewPluginLoader ¶
func NewPluginLoader() PluginLoader
Click to show internal directories.
Click to hide internal directories.