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

Method Data

client/playback.go:24–33  ·  view source on GitHub ↗
(key *ari.Key)

Source from the content-addressed store, hash-verified

22}
23
24func (p *playback) Data(key *ari.Key) (*ari.PlaybackData, error) {
25 data, err := p.c.dataRequest(&proxy.Request{
26 Kind: "PlaybackData",
27 Key: key,
28 })
29 if err != nil {
30 return nil, err
31 }
32 return data.Playback, nil
33}
34
35func (p *playback) Control(key *ari.Key, op string) error {
36 return p.c.commandRequest(&proxy.Request{

Callers

nothing calls this directly

Calls 1

dataRequestMethod · 0.80

Tested by

no test coverage detected