MCPcopy Create free account
hub / github.com/CyCoreSystems/ari-proxy / endpointListByTech

Method endpointListByTech

server/endpoint.go:47–57  ·  view source on GitHub ↗
(ctx context.Context, reply string, req *proxy.Request)

Source from the content-addressed store, hash-verified

45}
46
47func (s *Server) endpointListByTech(ctx context.Context, reply string, req *proxy.Request) {
48 list, err := s.ari.Endpoint().ListByTech(req.EndpointListByTech.Tech, req.Key)
49 if err != nil {
50 s.sendError(reply, err)
51 return
52 }
53
54 s.publish(reply, &proxy.Response{
55 Keys: list,
56 })
57}

Callers

nothing calls this directly

Calls 4

sendErrorMethod · 0.95
publishMethod · 0.95
ListByTechMethod · 0.80
EndpointMethod · 0.80

Tested by

no test coverage detected