(key *ari.Key)
| 13 | } |
| 14 | |
| 15 | func (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 | |
| 27 | func (c *channel) List(filter *ari.Key) ([]*ari.Key, error) { |
| 28 | return c.c.listRequest(&proxy.Request{ |
nothing calls this directly
no test coverage detected