Documentation ¶ Index ¶ Constants func Initialize(m *plugin.Manager) (plugin.Plugin, error) type Config type HelperSet func NewHelperSet(e *event.Dispatcher, v *vm.VM, i *irc.Manager) *HelperSet func (p *HelperSet) Configure(c Config) error func (p *HelperSet) Enable(gr *goja.Runtime) Constants ¶ View Source const PluginName = "squircy2_compat" Variables ¶ This section is empty. Functions ¶ func Initialize ¶ func Initialize(m *plugin.Manager) (plugin.Plugin, error) Types ¶ type Config ¶ type Config struct { EnableFileAPI bool `toml:"enable_file_api"` FileAPIPath string `toml:"file_api_root"` OwnerNick string `toml:"owner_nick"` OwnerHost string `toml:"owner_host"` DataPath string `toml:"data_path"` RootDir string `flag:"root_path"` } type HelperSet ¶ type HelperSet struct { *Config // contains filtered or unexported fields } func NewHelperSet ¶ func NewHelperSet(e *event.Dispatcher, v *vm.VM, i *irc.Manager) *HelperSet func (*HelperSet) Configure ¶ func (p *HelperSet) Configure(c Config) error func (*HelperSet) Enable ¶ func (p *HelperSet) Enable(gr *goja.Runtime) Source Files ¶ View all Source files helper.go plugin.go runtime.go Directories ¶ Show internal Expand all Path Synopsis data plugin Click to show internal directories. Click to hide internal directories.