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

Method Data

client/application.go:19–28  ·  view source on GitHub ↗
(key *ari.Key)

Source from the content-addressed store, hash-verified

17}
18
19func (a *application) Data(key *ari.Key) (*ari.ApplicationData, error) {
20 ret, err := a.c.dataRequest(&proxy.Request{
21 Kind: "ApplicationData",
22 Key: key,
23 })
24 if err != nil {
25 return nil, err
26 }
27 return ret.Application, nil
28}
29
30func (a *application) Get(key *ari.Key) *ari.ApplicationHandle {
31 k, err := a.c.getRequest(&proxy.Request{

Callers

nothing calls this directly

Calls 1

dataRequestMethod · 0.80

Tested by

no test coverage detected