Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Registry ¶
type Registry struct {
// contains filtered or unexported fields
}
Registry allows to add, remove and list all registered lua scripts.
func NewRegistry ¶
NewRegistry returns new script directory based on app and vendor names.
func (*Registry) GetAll ¶
GetAll returns list of registered scripts scripts associated with their aliases.
type Script ¶
type Script struct {
// Name is short script name (filename without extension).
Name string
// Path is physical script locations
Path string
// Tags includes set of user defined tags associated with script body.
Tags map[string]string
}
Script represents one pre-registered lua script.
Click to show internal directories.
Click to hide internal directories.