Documentation
¶
Overview ¶
Package plugin contains objects and functions to load and use javascript plugins in order to extend the functionalities of your projects.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Plugin ¶
type Plugin struct {
sync.Mutex
// The basename of the plugin.
Name string
// The actual javascript code.
Code string
// The full path of the plugin.
Path string
// contains filtered or unexported fields
}
Plugin is an object representing a javascript file exporting functions and variables that your project can use to extend its functionalities.
Click to show internal directories.
Click to hide internal directories.