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

Method bridgeData

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

Source from the content-addressed store, hash-verified

56}
57
58func (s *Server) bridgeData(ctx context.Context, reply string, req *proxy.Request) {
59 bd, err := s.ari.Bridge().Data(req.Key)
60 if err != nil {
61 s.sendError(reply, err)
62 return
63 }
64
65 s.publish(reply, &proxy.Response{
66 Data: &proxy.EntityData{
67 Bridge: bd,
68 },
69 })
70}
71
72func (s *Server) bridgeDelete(ctx context.Context, reply string, req *proxy.Request) {
73 // bind dialog

Callers

nothing calls this directly

Calls 4

sendErrorMethod · 0.95
publishMethod · 0.95
BridgeMethod · 0.80
DataMethod · 0.45

Tested by

no test coverage detected