model

package
v0.0.0-...-cf46ffc Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2020 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Plugin

type Plugin interface {
	PluginType() PluginType
	Content() map[string]interface{}
}

Plugin component behaviour interface

type PluginProxy

type PluginProxy interface {
	GetPlugins() ([]Plugin, error)
}

Interface used by plugin to enumerate multiple plugins

type PluginType

type PluginType byte

Plugin Type

type PluginsConfig

type PluginsConfig struct {
	// Define base folder that contains 'module' sub-folder within all plugins
	BaseFolderPath string `yaml:"path,omitempty" json:"path,omitempty" xml:"path,omitempty"`
	// Force reload despite the cache all plugins from the module folder at each request.
	ForcePluginsReload bool `yaml:"force,omitempty" json:"force,omitempty" xml:"force,omitempty"`
}

Plugins Configuration Helper structure

Jump to

Keyboard shortcuts

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