proxy

package
v0.0.0-...-6f2fbe4 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2020 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Logger log.Logger = nil
View Source
var PluginLibrariesExtension = "so"

Assume this extension name for ;loading the libraries (we hope in future windows will allow plugins)

View Source
var PluginLibrariesFolder string = getDefaultPluginsFolder()

Use custom plugins folder to seek for libraries

View Source
var UsePlugins bool = false

Use custom plugins loading proxies

Functions

This section is empty.

Types

type Module

type Module interface {
	// Retrieve module meta.Converter component
	GetComponent() (meta.Converter, error)
}

Define Behaviors of a Module Component

type Proxy

type Proxy interface {
	// Discover a Module by given command name into own Components list
	DiscoverModule(name string) (Module, error)
}

Define Behaviors of a Proxy Component

func NewProxy

func NewProxy() Proxy

Creates a New Proxy filled wit all available Built-In and Custom Modules, loaded just on first call

Jump to

Keyboard shortcuts

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