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

Method Get

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

Source from the content-addressed store, hash-verified

10}
11
12func (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
24func (m *mailbox) List(filter *ari.Key) ([]*ari.Key, error) {
25 return m.c.listRequest(&proxy.Request{

Callers

nothing calls this directly

Calls 1

getRequestMethod · 0.80

Tested by

no test coverage detected