MCPcopy Index your code
hub / github.com/APIParkLab/APIPark / Del

Method Del

mcp-server/server.go:73–77  ·  view source on GitHub ↗
(id string)

Source from the content-addressed store, hash-verified

71}
72
73func (s *Server) Del(id string) {
74 s.locker.Lock()
75 defer s.locker.Unlock()
76 delete(s.servers, id)
77}
78
79func (s *Server) Get(id string) (*Handler, bool) {
80 s.locker.RLock()

Callers 9

DeleteMethod · 0.45
DelServerFunction · 0.45
ThirdLoginMethod · 0.45
onlineMethod · 0.45
deleteByLabelsMethod · 0.45
OfflineMethod · 0.45
OnlineMethod · 0.45
OfflineMethod · 0.45
OfflineMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected