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

Method playbackData

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

Source from the content-addressed store, hash-verified

11}
12
13func (s *Server) playbackData(ctx context.Context, reply string, req *proxy.Request) {
14 data, err := s.ari.Playback().Data(req.Key)
15 if err != nil {
16 s.sendError(reply, err)
17 return
18 }
19
20 s.publish(reply, &proxy.Response{
21 Data: &proxy.EntityData{
22 Playback: data,
23 },
24 })
25}
26
27func (s *Server) playbackGet(ctx context.Context, reply string, req *proxy.Request) {
28 s.Log.Debug("Fetching playback data", "playback", req.Key)

Callers

nothing calls this directly

Calls 4

sendErrorMethod · 0.95
publishMethod · 0.95
PlaybackMethod · 0.80
DataMethod · 0.45

Tested by

no test coverage detected