plugin

package
v0.2.14 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2025 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Proxy added in v0.0.2

func Proxy(ctx *gin.Context)

func Shutdown added in v0.1.0

func Shutdown() (err error)

func Startup added in v0.1.0

func Startup() error

Types

type Plugin

type Plugin struct {
	Name         string   `json:"name"`
	Version      string   `json:"version"`
	Description  string   `json:"description,omitempty"`
	Type         string   `json:"type,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 added in v0.1.0

func (p *Plugin) Close() error

func (*Plugin) Open added in v0.1.0

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

func (*Plugin) Proxy added in v0.0.2

func (p *Plugin) Proxy()

Jump to

Keyboard shortcuts

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