(key *ari.Key)
| 63 | } |
| 64 | |
| 65 | func (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 | |
| 76 | func (b *bridge) AddChannel(key *ari.Key, channelID string) error { |
| 77 | return b.AddChannelWithOptions(key, channelID, nil) |
nothing calls this directly
no test coverage detected