(key *ari.Key)
| 29 | } |
| 30 | |
| 31 | func (m *mailbox) Data(key *ari.Key) (*ari.MailboxData, error) { |
| 32 | data, err := m.c.dataRequest(&proxy.Request{ |
| 33 | Kind: "MailboxData", |
| 34 | Key: key, |
| 35 | }) |
| 36 | if err != nil { |
| 37 | return nil, err |
| 38 | } |
| 39 | return data.Mailbox, nil |
| 40 | } |
| 41 | |
| 42 | func (m *mailbox) Update(key *ari.Key, oldMessages int, newMessages int) error { |
| 43 | return m.c.commandRequest(&proxy.Request{ |
nothing calls this directly
no test coverage detected