Help us shape the future of Go! Take the 2026 Go Developer Survey

tools

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterFindProcessByPort

func RegisterFindProcessByPort(srv *mcp.Server)

func RegisterGetProcessInfo added in v1.1.0

func RegisterGetProcessInfo(srv *mcp.Server)

func RegisterKillProcess

func RegisterKillProcess(srv *mcp.Server)

func RegisterKillProcessByPort

func RegisterKillProcessByPort(srv *mcp.Server)

func RegisterListProcesses

func RegisterListProcesses(srv *mcp.Server)

Types

type FindProcessByPortArgs

type FindProcessByPortArgs struct {
	Port uint16 `json:"port" jsonschema:"TCP or UDP port number to look up"`
}

type GetProcessInfoArgs added in v1.1.0

type GetProcessInfoArgs struct {
	PID uint32 `json:"pid" jsonschema:"process ID to inspect"`
}

type KillProcessArgs

type KillProcessArgs struct {
	PID  uint32 `json:"pid" jsonschema:"process ID to kill"`
	Tree bool   `json:"tree,omitempty" jsonschema:"also kill all descendant (child) processes - use for dev servers that spawn workers"`
}

type KillProcessByPortArgs

type KillProcessByPortArgs struct {
	Port uint16 `json:"port" jsonschema:"TCP or UDP port number - kill the process using this port"`
	Tree bool   `` /* 137-byte string literal not displayed */
}

type ListProcessesArgs

type ListProcessesArgs struct {
	Filter string `json:"filter,omitempty" jsonschema:"filter by process name (case-insensitive substring match)"`
}

Jump to

Keyboard shortcuts

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