(key *ari.Key)
| 10 | } |
| 11 | |
| 12 | func (m *mailbox) Get(key *ari.Key) *ari.MailboxHandle { |
| 13 | k, err := m.c.getRequest(&proxy.Request{ |
| 14 | Kind: "MailboxGet", |
| 15 | Key: key, |
| 16 | }) |
| 17 | if err != nil { |
| 18 | m.c.log.Warn("failed to get bridge for handle", "error", err) |
| 19 | return ari.NewMailboxHandle(key, m) |
| 20 | } |
| 21 | return ari.NewMailboxHandle(k, m) |
| 22 | } |
| 23 | |
| 24 | func (m *mailbox) List(filter *ari.Key) ([]*ari.Key, error) { |
| 25 | return m.c.listRequest(&proxy.Request{ |
nothing calls this directly
no test coverage detected