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

Method Data

client/mailbox.go:31–40  ·  view source on GitHub ↗
(key *ari.Key)

Source from the content-addressed store, hash-verified

29}
30
31func (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
42func (m *mailbox) Update(key *ari.Key, oldMessages int, newMessages int) error {
43 return m.c.commandRequest(&proxy.Request{

Callers

nothing calls this directly

Calls 1

dataRequestMethod · 0.80

Tested by

no test coverage detected