Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
hyperserve-init
command
|
|
|
examples
|
|
|
best-practices
command
Package main demonstrates best practices for using serverpkg.
|
Package main demonstrates best practices for using serverpkg. |
|
binding
command
Example: request binding + validation, three ways.
|
Example: request binding + validation, three ways. |
|
complete
command
|
|
|
configuration
command
|
|
|
deferred-init
command
Deferred-init example.
|
Deferred-init example. |
|
devops
command
Example demonstrating DevOps features: debug logging and MCP resources
|
Example demonstrating DevOps features: debug logging and MCP resources |
|
enterprise
command
Enterprise example demonstrating FIPS 140-3 compliance and enhanced security features
|
Enterprise example demonstrating FIPS 140-3 compliance and enhanced security features |
|
hello-world
command
|
|
|
htmx-dynamic
command
|
|
|
htmx-stream
command
|
|
|
json-api
command
|
|
|
mcp-basic
command
Smallest MCP-enabled HyperServe binary: built-in MCP tools/resources, a custom tool, a custom resource, and a sandboxed file-tool root.
|
Smallest MCP-enabled HyperServe binary: built-in MCP tools/resources, a custom tool, a custom resource, and a sandboxed file-tool root. |
|
mcp-cli
command
Example: Using command-line flags to configure MCP
|
Example: Using command-line flags to configure MCP |
|
mcp-discovery
command
|
|
|
mcp-extensions
command
Example: typed MCP tools — one tool per verb.
|
Example: typed MCP tools — one tool per verb. |
|
mcp-sse
command
Example: legacy HyperServe routed SSE.
|
Example: legacy HyperServe routed SSE. |
|
mcp-stdio
command
Package main demonstrates hyperserve's MCP support as a stdio server for Claude Desktop.
|
Package main demonstrates hyperserve's MCP support as a stdio server for Claude Desktop. |
|
middleware-basics
command
|
|
|
static-files
command
|
|
|
web-worker-csp
command
|
|
|
websocket-demo
command
|
|
|
go
module
|
|
|
internal
|
|
|
validate
Package validate implements the tag-driven struct validator used by pkg/server (HTTP request binding) and pkg/mcp (typed-tool argument binding).
|
Package validate implements the tag-driven struct validator used by pkg/server (HTTP request binding) and pkg/mcp (typed-tool argument binding). |
|
pkg
|
|
|
mcp
Typed MCP tools.
|
Typed MCP tools. |
|
mcp/builtin
Package builtin provides ready-to-register MCP tools and resources.
|
Package builtin provides ready-to-register MCP tools and resources. |
|
server
Request binding + struct-tag validation.
|
Request binding + struct-tag validation. |
Click to show internal directories.
Click to hide internal directories.