Documentation
¶
Overview ¶
Package client owns the default outbound client implementations. Registry resolves one client per distinct typed options value, reuses it across invocations and components, and releases everything on Close. It is the single lifecycle boundary; borrowers never close clients.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Registry ¶
type Registry struct {
// contains filtered or unexported fields
}
Registry caches HTTP and MCP clients keyed by option identity.
func (*Registry) Close ¶
Close releases every client (MCP sessions included) and refuses further resolution.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package http is Datly's default implementation of the public outbound HTTP client contract (github.com/viant/xdatly/client/http).
|
Package http is Datly's default implementation of the public outbound HTTP client contract (github.com/viant/xdatly/client/http). |
|
Package mcp is Datly's default implementation of the public outbound MCP client contract (github.com/viant/xdatly/client/mcp) built on github.com/viant/mcp.
|
Package mcp is Datly's default implementation of the public outbound MCP client contract (github.com/viant/xdatly/client/mcp) built on github.com/viant/mcp. |
|
Package support holds helpers shared by the default HTTP and MCP client implementations: option identity, header canonicalization, endpoint validation, limit resolution and the hardened transport factory.
|
Package support holds helpers shared by the default HTTP and MCP client implementations: option identity, header canonicalization, endpoint validation, limit resolution and the hardened transport factory. |
Click to show internal directories.
Click to hide internal directories.