squircy2_compat

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2022 License: MIT Imports: 17 Imported by: 0

Documentation

Index

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)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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