Versions in this module Expand all Collapse all v0 v0.48.0 May 6, 2026 Changes in this version + type CommandsModule struct + func (m *CommandsModule) Commands() map[string]config.UserCommand + func (m *CommandsModule) Register(state *glua.LState, hive *glua.LTable) error + type HostModule interface + Register func(state *glua.LState, hive *glua.LTable) error + type LogModule struct + PluginName string + func (m *LogModule) Register(state *glua.LState, hive *glua.LTable) error + type Plugin struct + func New(cfg config.LuaPluginConfig) *Plugin + func (p *Plugin) Available() bool + func (p *Plugin) Close() error + func (p *Plugin) Commands() map[string]config.UserCommand + func (p *Plugin) Init(_ context.Context) error + func (p *Plugin) Name() string + func (p *Plugin) StatusProvider() plugins.StatusProvider + type PluginInfoModule struct + Entry string + ModuleRoot string + Name string + func (m *PluginInfoModule) Register(state *glua.LState, hive *glua.LTable) error + type Runtime struct + func NewRuntime(moduleRoot string, modules ...HostModule) (*Runtime, error) + func (r *Runtime) CallEntrypoint(entrypoint *glua.LFunction) error + func (r *Runtime) Close() + func (r *Runtime) LoadEntrypoint(path string) (*glua.LFunction, error)