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

Method Data

client/logging.go:26–35  ·  view source on GitHub ↗
(key *ari.Key)

Source from the content-addressed store, hash-verified

24}
25
26func (l *logging) Data(key *ari.Key) (*ari.LogData, error) {
27 data, err := l.c.dataRequest(&proxy.Request{
28 Kind: "AsteriskLoggingData",
29 Key: key,
30 })
31 if err != nil {
32 return nil, err
33 }
34 return data.Log, nil
35}
36
37func (l *logging) Get(key *ari.Key) *ari.LogHandle {
38 k, err := l.c.getRequest(&proxy.Request{

Callers

nothing calls this directly

Calls 1

dataRequestMethod · 0.80

Tested by

no test coverage detected