Documentation
¶
Overview ¶
Package fusepack holds Go extensions fused into a Piglet Binary. The build copies compatible extension source under exts/ and generates registry_generated.go with lazy factory serve functions. Register installs a FusedResolver so the host loads those extensions in-process (D31).
Stock Pig compiles this package with an empty registry, so Register is a no-op.
Code generated by pig piglet build. DO NOT EDIT.
Stock Pig ships this file empty. A Piglet Binary build may temporarily generate imports for compatible extension packages and restores this file.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FusedConfigs ¶
func FusedConfigs() []subprocess.ExtConfig
FusedConfigs returns a name-only ExtConfig for each fused extension so the startup loader includes them even though their source is not on this machine. LoadAll routes these to LoadInProcess (no source needed). A richer piglet or CLI config for the same name still wins the config merge. Empty in stock pig.
func HostHelpers ¶
func HostHelpers() *sdk.HostHelpers
HostHelpers are the host's parsers for a fused extension. Its factory runs in this process, before any connection to the host exists, so the SDK's frontmatter and Date.parse helpers call them directly.
Types ¶
This section is empty.