internal/

directory
v1.0.0-beta.1 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2026 License: AGPL-3.0

Directories

Path Synopsis
adapter
inbound/admin
Package admin provides web UI and JSON API handlers for Sentinel Gate.
Package admin provides web UI and JSON API handlers for Sentinel Gate.
inbound/http
Package http provides HTTP/Streamable HTTP transport for Sentinel Gate.
Package http provides HTTP/Streamable HTTP transport for Sentinel Gate.
inbound/httpgw
Package httpgw provides the HTTP Gateway forward proxy handler.
Package httpgw provides the HTTP Gateway forward proxy handler.
inbound/stdio
Package stdio provides the stdio transport adapter for the proxy.
Package stdio provides the stdio transport adapter for the proxy.
outbound/audit
Package audit provides file-based audit persistence with JSON Lines format, daily rotation, size caps, retention cleanup, and an in-memory cache.
Package audit provides file-based audit persistence with JSON Lines format, daily rotation, size caps, retention cleanup, and an in-memory cache.
outbound/cel
Package cel provides a CEL-based policy expression evaluator.
Package cel provides a CEL-based policy expression evaluator.
outbound/mcp
Package mcp provides MCP client adapters for connecting to upstream servers.
Package mcp provides MCP client adapters for connecting to upstream servers.
outbound/memory
Package memory provides in-memory implementations of outbound ports.
Package memory provides in-memory implementations of outbound ports.
outbound/state
Package state provides file-based persistence for SentinelGate runtime state.
Package state provides file-based persistence for SentinelGate runtime state.
Package config provides configuration types for Sentinel Gate OSS.
Package config provides configuration types for Sentinel Gate OSS.
Package ctxkey defines shared context key types used across multiple packages.
Package ctxkey defines shared context key types used across multiple packages.
domain
action
Package action defines the CanonicalAction type system: a protocol-agnostic representation of any agent action flowing through SentinelGate.
Package action defines the CanonicalAction type system: a protocol-agnostic representation of any agent action flowing through SentinelGate.
audit
Package audit contains domain types for audit logging.
Package audit contains domain types for audit logging.
auth
Package auth contains the domain types and logic for authentication.
Package auth contains the domain types and logic for authentication.
policy
Package policy contains domain types for RBAC policy evaluation.
Package policy contains domain types for RBAC policy evaluation.
proxy
Package proxy contains the core domain logic for the MCP proxy.
Package proxy contains the core domain logic for the MCP proxy.
ratelimit
Package ratelimit provides rate limiting domain types.
Package ratelimit provides rate limiting domain types.
runtime
Package runtime provides bootstrap infrastructure for the sentinel-gate run command.
Package runtime provides bootstrap infrastructure for the sentinel-gate run command.
session
Package session manages user sessions across MCP tool calls.
Package session manages user sessions across MCP tool calls.
tool
Package tool contains domain types for tool discovery and risk classification.
Package tool contains domain types for tool discovery and risk classification.
upstream
Package upstream contains domain types for MCP upstream server configuration.
Package upstream contains domain types for MCP upstream server configuration.
validation
Package validation provides MCP message validation logic.
Package validation provides MCP message validation logic.
port
inbound
Package inbound defines the inbound port interfaces for the proxy core.
Package inbound defines the inbound port interfaces for the proxy core.
outbound
Package outbound defines the outbound port interfaces for connecting to upstream MCP servers.
Package outbound defines the outbound port interfaces for connecting to upstream MCP servers.
Package service provides business logic services for SentinelGate.
Package service provides business logic services for SentinelGate.

Jump to

Keyboard shortcuts

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