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

Method Get

client/modules.go:23–33  ·  view source on GitHub ↗
(key *ari.Key)

Source from the content-addressed store, hash-verified

21}
22
23func (m *modules) Get(key *ari.Key) *ari.ModuleHandle {
24 k, err := m.c.getRequest(&proxy.Request{
25 Kind: "AsteriskModuleGet",
26 Key: key,
27 })
28 if err != nil {
29 m.c.log.Warn("failed to get module for handle", "error", err)
30 return ari.NewModuleHandle(key, m)
31 }
32 return ari.NewModuleHandle(k, m)
33}
34
35func (m *modules) List(filter *ari.Key) ([]*ari.Key, error) {
36 return m.c.listRequest(&proxy.Request{

Callers

nothing calls this directly

Calls 1

getRequestMethod · 0.80

Tested by

no test coverage detected