plugins

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetPackages

func GetPackages() map[string]Plugin

func LoadPlugin

func LoadPlugin(plugin Plugin, plugins map[string]Plugin, parts map[string]Part)

func ReturnPluginResponse

func ReturnPluginResponse(c *fiber.Ctx) error

func Update

func Update() (map[string]Plugin, map[string]Part, map[string]Plugin)

Types

type ClientPlugin

type ClientPlugin struct {
	Plugins map[string]string `json:"plugins"`
	Parts   []string          `json:"parts"`
}

type Part

type Part struct {
	Name     string            `json:"name"`
	Hooks    map[string]string `json:"hooks"`
	Plugin   *string
	FullName *string
}

type Plugin

type Plugin struct {
	Name     string
	Version  string
	Path     string
	RealPath string
}

type PluginDef

type PluginDef struct {
	Parts []Part `json:"parts"`
}

Jump to

Keyboard shortcuts

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