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

Method Data

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

Source from the content-addressed store, hash-verified

63}
64
65func (b *bridge) Data(key *ari.Key) (*ari.BridgeData, error) {
66 resp, err := b.c.dataRequest(&proxy.Request{
67 Kind: "BridgeData",
68 Key: key,
69 })
70 if err != nil {
71 return nil, err
72 }
73 return resp.Bridge, nil
74}
75
76func (b *bridge) AddChannel(key *ari.Key, channelID string) error {
77 return b.AddChannelWithOptions(key, channelID, nil)

Callers

nothing calls this directly

Calls 1

dataRequestMethod · 0.80

Tested by

no test coverage detected