plugin

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetNTFuncs

type GetNTFuncs interface {
	Get() *NTFuncs
}

type NTFuncHelper

type NTFuncHelper struct {
	Name    string
	InTypes []reflect.Type
	// contains filtered or unexported fields
}

func NewNTFunc

func NewNTFunc(name string, f interface{}) NTFuncHelper

func (*NTFuncHelper) Call

func (n *NTFuncHelper) Call(a ...interface{}) error

func (*NTFuncHelper) TypeCheck

func (n *NTFuncHelper) TypeCheck(a ...interface{}) error

type NTFuncs

type NTFuncs map[string]NTFuncHelper

func NewNTFuncs

func NewNTFuncs(f []NTFuncHelper) NTFuncs

func (*NTFuncs) Get

func (n *NTFuncs) Get() *NTFuncs

type NonTypeFunc

type NonTypeFunc func(...interface{}) error

Function Part

type PluginInfo

type PluginInfo struct {
	Name    string
	Version string
}

Jump to

Keyboard shortcuts

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