pluginer

package
v0.0.0-...-b92253b Latest Latest
Warning

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

Go to latest
Published: May 28, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Pluginer

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

func CreatePluginer

func CreatePluginer(classpath string, coremap map[string]func(*plugin.Plugin) error) (pluginer *Pluginer, err error)

create pluginers,and read from configure file to cache

func (*Pluginer) LookUpAll

func (s *Pluginer) LookUpAll() (allerr []error)

put the lookup function into pluginer maker,lookup all pluginer

func (*Pluginer) Lookup

func (s *Pluginer) Lookup(classname string, args ...any) (err error)

complex pack,put args into the target classname that need args.this function only for test version.

Jump to

Keyboard shortcuts

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