sdk

package module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2026 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Overview

Package sdk is the entry point an out-of-tree ShellCN plugin imports: declare the contract with sdk/plugin, then call Serve from main.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Serve

func Serve(p plugin.Plugin)

Serve runs a plugin as a go-plugin gRPC subprocess. It blocks until the host disconnects, and is the last call in a plugin's main.

Types

This section is empty.

Directories

Path Synopsis
gen
Package grpcplugin holds the go-plugin wire wiring shared by the core host adapter and the plugin SDK: the handshake and the dispense key.
Package grpcplugin holds the go-plugin wire wiring shared by the core host adapter and the plugin SDK: the handshake and the dispense key.
Package plugin defines the plugin contract, registry, and projection.
Package plugin defines the plugin contract, registry, and projection.
Package plugintest provides test helpers for exercising a plugin's Connect/Session against a real target, without depending on the core.
Package plugintest provides test helpers for exercising a plugin's Connect/Session against a real target, without depending on the core.

Jump to

Keyboard shortcuts

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