lifecycle

package
v2.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunOnConnect

func RunOnConnect(ctx context.Context, client *mcp.Client, serverName string, hooks []config.LifecycleHook) error

RunOnConnect executes lifecycle hooks after a successful MCP connection. Hooks run sequentially; if any hook fails, remaining hooks are skipped.

Types

This section is empty.

Jump to

Keyboard shortcuts

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