plugin

package
v1.1.7 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Func

type Func func(v ...interface{}) (interface{}, exception.Error)

type Plugin

type Plugin struct {
	// contains filtered or unexported fields
}

func Open

func Open(file string) *Plugin

func (*Plugin) Lookup

func (p *Plugin) Lookup(funcName string) *Script

type Script

type Script struct {
	// contains filtered or unexported fields
}

func (*Script) Run

func (s *Script) Run(v ...interface{}) (interface{}, exception.Error)

Jump to

Keyboard shortcuts

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