sm

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2022 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
ufm

Jump to

Keyboard shortcuts

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