internal

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2025 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const IconName = "icon.png"
View Source
const ManifestName = "manifest.json"
View Source
const RootPath = "plugins"

Variables

This section is empty.

Functions

func Proxy

func Proxy(ctx *gin.Context)

func Shutdown

func Shutdown() (err error)

func Startup

func Startup() error

Types

type Plugin

type Plugin struct {
	Id           string   `json:"id"`
	Name         string   `json:"name"`
	Version      string   `json:"version,omitempty"`
	Icon         string   `json:"icon,omitempty"`
	Description  string   `json:"description,omitempty"`
	Type         string   `json:"type,omitempty"`
	Static       string   `json:"static,omitempty"`
	Executable   string   `json:"executable,omitempty"`
	Arguments    []string `json:"arguments,omitempty"`
	Dependencies []string `json:"dependencies,omitempty"`
	Author       string   `json:"author,omitempty"`
	Email        string   `json:"email,omitempty"`
	Homepage     string   `json:"homepage,omitempty"`
	Socket       string   `json:"socket,omitempty"`
	// contains filtered or unexported fields
}

func (*Plugin) Close

func (p *Plugin) Close() error

func (*Plugin) Open

func (p *Plugin) Open() (err error)

func (*Plugin) Proxy

func (p *Plugin) Proxy()

Jump to

Keyboard shortcuts

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