plugins

package
v0.0.0-...-e9d226e Latest Latest
Warning

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

Go to latest
Published: May 15, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Common functions for plugins

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Enabled

func Enabled(plugin string) bool

func GetOfficialPluginList

func GetOfficialPluginList() []string

Returns the list of official plugins

Types

type OpaqueConfig

type OpaqueConfig struct {
	// contains filtered or unexported fields
}

func GetConfig

func GetConfig(plugin string) (*OpaqueConfig, error)

func (OpaqueConfig) GetBool

func (i OpaqueConfig) GetBool(key string) (bool, error)

func (OpaqueConfig) GetInt

func (i OpaqueConfig) GetInt(key string) (int, error)

func (OpaqueConfig) GetString

func (i OpaqueConfig) GetString(key string) (string, error)

func (OpaqueConfig) GetStringArray

func (i OpaqueConfig) GetStringArray(key string) ([]string, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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