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

Method Get

client/bridge.go:46–56  ·  view source on GitHub ↗
(key *ari.Key)

Source from the content-addressed store, hash-verified

44}
45
46func (b *bridge) Get(key *ari.Key) *ari.BridgeHandle {
47 k, err := b.c.getRequest(&proxy.Request{
48 Kind: "BridgeGet",
49 Key: key,
50 })
51 if err != nil {
52 b.c.log.Warn("failed to get bridge for handle", "error", err)
53 return ari.NewBridgeHandle(key, b, nil)
54 }
55 return ari.NewBridgeHandle(k, b, nil)
56}
57
58func (b *bridge) List(filter *ari.Key) ([]*ari.Key, error) {
59 return b.c.listRequest(&proxy.Request{

Callers 7

TestApplicationGetFunction · 0.45
TestAsteriskVariablesGetFunction · 0.45
bridgeStageCreateMethod · 0.45
bridgeStagePlayMethod · 0.45
asteriskVariableGetMethod · 0.45
channelStagePlayMethod · 0.45
channelStageSnoopMethod · 0.45

Calls 1

getRequestMethod · 0.80

Tested by 2

TestApplicationGetFunction · 0.36
TestAsteriskVariablesGetFunction · 0.36