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

Method Data

client/channel.go:86–95  ·  view source on GitHub ↗
(key *ari.Key)

Source from the content-addressed store, hash-verified

84}
85
86func (c *channel) Data(key *ari.Key) (*ari.ChannelData, error) {
87 data, err := c.c.dataRequest(&proxy.Request{
88 Kind: "ChannelData",
89 Key: key,
90 })
91 if err != nil {
92 return nil, err
93 }
94 return data.Channel, nil
95}
96
97func (c *channel) Continue(key *ari.Key, context string, extension string, priority int) error {
98 return c.c.commandRequest(&proxy.Request{

Callers

nothing calls this directly

Calls 1

dataRequestMethod · 0.80

Tested by

no test coverage detected