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

Method Data

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

Source from the content-addressed store, hash-verified

10}
11
12func (m *modules) Data(key *ari.Key) (*ari.ModuleData, error) {
13 data, err := m.c.dataRequest(&proxy.Request{
14 Kind: "AsteriskModuleData",
15 Key: key,
16 })
17 if err != nil {
18 return nil, err
19 }
20 return data.Module, nil
21}
22
23func (m *modules) Get(key *ari.Key) *ari.ModuleHandle {
24 k, err := m.c.getRequest(&proxy.Request{

Callers

nothing calls this directly

Calls 1

dataRequestMethod · 0.80

Tested by

no test coverage detected