mcp

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2025 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunRouter

func RunRouter(config Config, bpm *bp.Manager, logger *slog.Logger) error

Types

type BatteryResponse

type BatteryResponse struct {
	BatteryLevel float64 `json:"battery_level"`
}

type Config

type Config struct {
	Name    string // Service Name
	Version string // Service Version

	UseSSE      bool   // Use SSE Transport instead of STDIO
	SSEHostPort string // HostPort to use for SSE
}

Config is configuration for our MCP server

type RssiResponse

type RssiResponse struct {
	RssiLevel float64 `json:"rssi_level"`
}

Jump to

Keyboard shortcuts

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