server

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2025 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Version = "dev"

Functions

func NewJSServer

func NewJSServer() (*server.MCPServer, error)

func NewJSServerWithConfig

func NewJSServerWithConfig(config ModuleConfig) (*server.MCPServer, error)

Types

type JSHandler

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

func NewJSHandler

func NewJSHandler() *JSHandler

func NewJSHandlerWithConfig

func NewJSHandlerWithConfig(config ModuleConfig) *JSHandler

func (*JSHandler) Cleanup

func (h *JSHandler) Cleanup()

Cleanup shuts down all running VMs

type ModuleConfig

type ModuleConfig struct {
	EnabledModules   []string
	DisabledModules  []string
	ExecutionTimeout time.Duration
}

Directories

Path Synopsis
modules
kv
url

Jump to

Keyboard shortcuts

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