mcp: unexport InitializeClientRequest
This request is synthetic, and should not be observed by the user. Unexport it and rename InitializeServerRequest to just InitializeRequest.
This commit is contained in:
parent
c058c6a93b
commit
5fd06ae8b7
1 changed files with 5 additions and 5 deletions
|
|
@ -54,7 +54,7 @@ type ServerOptions struct {
|
|||
// Optional instructions for connected clients.
|
||||
Instructions string
|
||||
// If non-nil, called when "notifications/initialized" is received.
|
||||
InitializedHandler func(context.Context, *InitializedServerRequest)
|
||||
InitializedHandler func(context.Context, *InitializedRequest)
|
||||
// PageSize is the maximum number of items to return in a single page for
|
||||
// list methods (e.g. ListTools).
|
||||
PageSize int
|
||||
|
|
|
|||
Loading…
Reference in a new issue