Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var With = func(pi vm.PluginInstance) (Instance, error) { _pi, ok := pi.(*pluginInstance) if !ok { debug.PrintStack() return nil, fmt.Errorf("%v of type %T is not a Taubyte plugin instance", pi, pi) } if err := _pi.LoadAPIs(); err != nil { return nil, err } return _pi, nil }
Functions ¶
func Initialize ¶
First initialize the plugin
Types ¶
Click to show internal directories.
Click to hide internal directories.