wire

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package wire generates an application's plugin wiring files from the plugin.json manifest of every directory under each configured plugin root.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(root string, cfg Config) error

Run loads the plugin manifests under root and writes the application's generated Go and TypeScript wiring files per cfg.

Types

type Config

type Config struct {
	SDKImport    string
	FrontendSDK  string
	GoWiringPath string
	TSWiringPath string
	License      string
	TSLicense    string
	Roots        []string

	GoRegistryPath    string
	GoRegistryPackage string
}

Config parameterizes generation for the consuming application.

Jump to

Keyboard shortcuts

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