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

Method Get

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

Source from the content-addressed store, hash-verified

35}
36
37func (l *logging) Get(key *ari.Key) *ari.LogHandle {
38 k, err := l.c.getRequest(&proxy.Request{
39 Kind: "AsteriskLoggingGet",
40 Key: key,
41 })
42 if err != nil {
43 l.c.log.Warn("failed to get logging key for handle", "error", err)
44 return ari.NewLogHandle(key, l)
45 }
46 return ari.NewLogHandle(k, l)
47}
48
49func (l *logging) List(filter *ari.Key) ([]*ari.Key, error) {
50 return l.c.listRequest(&proxy.Request{

Callers

nothing calls this directly

Calls 1

getRequestMethod · 0.80

Tested by

no test coverage detected