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

Method Get

client/liveRecording.go:12–22  ·  view source on GitHub ↗
(key *ari.Key)

Source from the content-addressed store, hash-verified

10}
11
12func (l *liveRecording) Get(key *ari.Key) *ari.LiveRecordingHandle {
13 k, err := l.c.getRequest(&proxy.Request{
14 Kind: "RecordingLiveGet",
15 Key: key,
16 })
17 if err != nil {
18 l.c.log.Warn("failed to get liveRecording for handle", "error", err)
19 return ari.NewLiveRecordingHandle(key, l, nil)
20 }
21 return ari.NewLiveRecordingHandle(k, l, nil)
22}
23
24func (l *liveRecording) Data(key *ari.Key) (*ari.LiveRecordingData, error) {
25 data, err := l.c.dataRequest(&proxy.Request{

Callers

nothing calls this directly

Calls 1

getRequestMethod · 0.80

Tested by

no test coverage detected