plugin

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewExternalModule

func NewExternalModule(binPath string, cfg config.ModuleConfig) module.Module

NewExternalModule creates a module backed by an external plugin binary.

Types

type ExternalModule

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

ExternalModule wraps a plugin binary as a module.Module.

func (*ExternalModule) Init

func (m *ExternalModule) Init() tea.Cmd

func (*ExternalModule) MinSize

func (m *ExternalModule) MinSize() (int, int)

func (*ExternalModule) Name

func (m *ExternalModule) Name() string

func (*ExternalModule) Update

func (m *ExternalModule) Update(msg tea.Msg) tea.Cmd

func (*ExternalModule) View

func (m *ExternalModule) View(width, height int) string

Jump to

Keyboard shortcuts

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