utils

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppendServerConfigSchemaHeader added in v0.2.0

func AppendServerConfigSchemaHeader(bytes []byte) []byte

AppendServerConfigSchemaHeader appends the schema header for server config files

func AppendToolDefinitionsSchemaHeader added in v0.2.0

func AppendToolDefinitionsSchemaHeader(bytes []byte) []byte

AppendToolDefinitionsSchemaHeader appends the schema header for MCP files

func GetCacheDir

func GetCacheDir() (string, error)

Types

type ProcessManager

type ProcessManager struct {
	// contains filtered or unexported fields
}

func GetProcessManager

func GetProcessManager() *ProcessManager

func (*ProcessManager) DeleteProcessId

func (pm *ProcessManager) DeleteProcessId(name string) error

func (*ProcessManager) GetProcessId

func (pm *ProcessManager) GetProcessId(name string) (int, error)

func (*ProcessManager) SaveProcessId

func (pm *ProcessManager) SaveProcessId(name string, pid int) error

Jump to

Keyboard shortcuts

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