RemoveResourceTemplates removes the resource templates with the given URI templates. It is not an error to remove a nonexistent resource.
(uriTemplates ...string)
| 551 | // RemoveResourceTemplates removes the resource templates with the given URI templates. |
| 552 | // It is not an error to remove a nonexistent resource. |
| 553 | func (s *Server) RemoveResourceTemplates(uriTemplates ...string) { |
| 554 | s.changeAndNotify(notificationResourceListChanged, func() bool { return s.resourceTemplates.remove(uriTemplates...) }) |
| 555 | } |
| 556 | |
| 557 | func (s *Server) capabilities() *ServerCapabilities { |
| 558 | s.mu.Lock() |
nothing calls this directly
no test coverage detected