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) View ¶
func (m *ExternalModule) View(width, height int) string
Click to show internal directories.
Click to hide internal directories.