go-sdk/examples
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Robert Findley e097918484
mcp: make transports open structs
As described in #272, there is really no reason for transports to be
closed structs with constructors, since their state must be established
by a call to Connect. Making them open structs simplifies their APIs,
and means that all transports can be extended in the future: we don't
have to create empty Options structs just for the purpose of future
compatibility.

For now, the related constructors and options structs are simply
deprecated (with go:fix directives where possible). A future CL will
remove them prior to the v1.0.0 release.

For #272
2025-08-12 15:14:21 -04:00
..
client/listfeatures mcp: make transports open structs 2025-08-12 15:14:21 -04:00
server mcp: make transports open structs 2025-08-12 15:14:21 -04:00