sm

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2025 License: Apache-2.0 Imports: 4 Imported by: 1

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

Directories

Path Synopsis
noop command
ufm command

Jump to

Keyboard shortcuts

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