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

Method applicationData

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

Source from the content-addressed store, hash-verified

9)
10
11func (s *Server) applicationData(ctx context.Context, reply string, req *proxy.Request) {
12 data, err := s.ari.Application().Data(req.Key)
13 if err != nil {
14 s.sendError(reply, err)
15 return
16 }
17
18 s.publish(reply, &proxy.Response{
19 Data: &proxy.EntityData{
20 Application: data,
21 },
22 })
23}
24
25func (s *Server) applicationList(ctx context.Context, reply string, req *proxy.Request) {
26 list, err := s.ari.Application().List(nil)

Callers

nothing calls this directly

Calls 4

sendErrorMethod · 0.95
publishMethod · 0.95
ApplicationMethod · 0.80
DataMethod · 0.45

Tested by

no test coverage detected