Method
bridgeData
(ctx context.Context, reply string, req *proxy.Request)
Source from the content-addressed store, hash-verified
| 56 | } |
| 57 | |
| 58 | func (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 | |
| 72 | func (s *Server) bridgeDelete(ctx context.Context, reply string, req *proxy.Request) { |
| 73 | // bind dialog |
Callers
nothing calls this directly
Tested by
no test coverage detected