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
|
|
@ -75,7 +75,7 @@ func TestEndToEnd(t *testing.T) {
|
|||
}
|
||||
|
||||
sopts := &ServerOptions{
|
||||
InitializedHandler: func(context.Context, *InitializedServerRequest) {
|
||||
InitializedHandler: func(context.Context, *InitializedRequest) {
|
||||
notificationChans["initialized"] <- 0
|
||||
},
|
||||
RootsListChangedHandler: func(context.Context, *RootsListChangedRequest) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue