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

Method Get

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

Source from the content-addressed store, hash-verified

13}
14
15func (c *channel) Get(key *ari.Key) *ari.ChannelHandle {
16 k, err := c.c.getRequest(&proxy.Request{
17 Kind: "ChannelGet",
18 Key: key,
19 })
20 if err != nil {
21 c.c.log.Warn("failed to make data request for channel", "error", err)
22 return ari.NewChannelHandle(key, c, nil)
23 }
24 return ari.NewChannelHandle(k, c, nil)
25}
26
27func (c *channel) List(filter *ari.Key) ([]*ari.Key, error) {
28 return c.c.listRequest(&proxy.Request{

Callers

nothing calls this directly

Calls 1

getRequestMethod · 0.80

Tested by

no test coverage detected