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

Method applicationGet

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

Source from the content-addressed store, hash-verified

35}
36
37func (s *Server) applicationGet(ctx context.Context, reply string, req *proxy.Request) {
38 data, err := s.ari.Application().Data(req.Key)
39 if err != nil {
40 s.sendError(reply, err)
41 return
42 }
43
44 s.publish(reply, &proxy.Response{
45 Key: data.Key,
46 })
47}
48
49func parseEventSource(src string) (string, string, error) {
50 var err error

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