pluginhost

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package pluginhost re-exports the GoFastr heavy-JS plugin platform.

The platform was built HERE first (Phase 0/1 — the richtext editor forced its shape) and extracted into gofastr core in Phase 2, exactly as the master plan prescribed ("build the editor concrete first; extract the platform from what it actually needs"). The implementation now lives at github.com/DonaldMurillo/gofastr/framework/pluginhost; this package is a compatibility alias so the plugins in this repo (and the design docs that reference pluginhost.*) keep working unchanged.

New code should import the framework package directly.

Index

Constants

View Source
const (
	IsolationSandboxOpaque = pluginhost.IsolationSandboxOpaque
	DefaultSandbox         = pluginhost.DefaultSandbox
	BrokerScriptURL        = pluginhost.BrokerScriptURL
	BrokerRouteMethod      = pluginhost.BrokerRouteMethod
	HostRequirementPrefix  = pluginhost.HostRequirementPrefix
)

Isolation + sandbox constants (protocol-v1.md §2).

Variables

View Source
var (
	RegisterBrokerRoute   = pluginhost.RegisterBrokerRoute
	UIHostOption          = pluginhost.UIHostOption
	NewAssetServer        = pluginhost.NewAssetServer
	MountMarker           = pluginhost.MountMarker
	Allow                 = pluginhost.Allow
	Guard                 = pluginhost.Guard
	WriteCapabilityDenied = pluginhost.WriteCapabilityDenied
	CheckHostRequirements = pluginhost.CheckHostRequirements
)

Function forwards.

Functions

This section is empty.

Types

type AssetServer

type AssetServer = pluginhost.AssetServer

Manifest + registration types.

type AssetSpec

type AssetSpec = pluginhost.AssetSpec

Manifest + registration types.

type Attribute

type Attribute = pluginhost.Attribute

Manifest + registration types.

type BrokerRegistration

type BrokerRegistration = pluginhost.BrokerRegistration

Manifest + registration types.

type ClientModule

type ClientModule = pluginhost.ClientModule

Manifest + registration types.

type Field

type Field = pluginhost.Field

Manifest + registration types.

type Manifest

type Manifest = pluginhost.Manifest

Manifest + registration types.

type MountConfig

type MountConfig = pluginhost.MountConfig

Manifest + registration types.

Jump to

Keyboard shortcuts

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