@@ -22,33 +22,33 @@ type Client interface {
2222
2323func stdioNotifications (serverSession * mcp.ServerSession ) * mcp.ClientOptions {
2424 return & mcp.ClientOptions {
25- CreateMessageHandler : func (ctx context.Context , session * mcp.ClientSession , params * mcp.CreateMessageParams ) (* mcp.CreateMessageResult , error ) {
25+ CreateMessageHandler : func (_ context.Context , _ * mcp.ClientSession , _ * mcp.CreateMessageParams ) (* mcp.CreateMessageResult , error ) {
2626 // Handle create messages if needed
2727 return nil , fmt .Errorf ("create messages not supported" )
2828 },
29- ToolListChangedHandler : func (ctx context.Context , session * mcp.ClientSession , params * mcp.ToolListChangedParams ) {
29+ ToolListChangedHandler : func (ctx context.Context , _ * mcp.ClientSession , params * mcp.ToolListChangedParams ) {
3030 if serverSession != nil {
31- mcp .HandleNotify (ctx , serverSession , "notifications/tools/list_changed" , params )
31+ _ = mcp .HandleNotify (ctx , serverSession , "notifications/tools/list_changed" , params )
3232 }
3333 },
34- ResourceListChangedHandler : func (ctx context.Context , session * mcp.ClientSession , params * mcp.ResourceListChangedParams ) {
34+ ResourceListChangedHandler : func (ctx context.Context , _ * mcp.ClientSession , params * mcp.ResourceListChangedParams ) {
3535 if serverSession != nil {
36- mcp .HandleNotify (ctx , serverSession , "notifications/resources/list_changed" , params )
36+ _ = mcp .HandleNotify (ctx , serverSession , "notifications/resources/list_changed" , params )
3737 }
3838 },
39- PromptListChangedHandler : func (ctx context.Context , session * mcp.ClientSession , params * mcp.PromptListChangedParams ) {
39+ PromptListChangedHandler : func (ctx context.Context , _ * mcp.ClientSession , params * mcp.PromptListChangedParams ) {
4040 if serverSession != nil {
41- mcp .HandleNotify (ctx , serverSession , "notifications/prompts/list_changed" , params )
41+ _ = mcp .HandleNotify (ctx , serverSession , "notifications/prompts/list_changed" , params )
4242 }
4343 },
44- ProgressNotificationHandler : func (ctx context.Context , session * mcp.ClientSession , params * mcp.ProgressNotificationParams ) {
44+ ProgressNotificationHandler : func (ctx context.Context , _ * mcp.ClientSession , params * mcp.ProgressNotificationParams ) {
4545 if serverSession != nil {
46- serverSession .NotifyProgress (ctx , params )
46+ _ = serverSession .NotifyProgress (ctx , params )
4747 }
4848 },
49- LoggingMessageHandler : func (ctx context.Context , session * mcp.ClientSession , params * mcp.LoggingMessageParams ) {
49+ LoggingMessageHandler : func (ctx context.Context , _ * mcp.ClientSession , params * mcp.LoggingMessageParams ) {
5050 if serverSession != nil {
51- serverSession .Log (ctx , params )
51+ _ = serverSession .Log (ctx , params )
5252 }
5353 },
5454 }
0 commit comments