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

Method Get

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

Source from the content-addressed store, hash-verified

28}
29
30func (a *application) Get(key *ari.Key) *ari.ApplicationHandle {
31 k, err := a.c.getRequest(&proxy.Request{
32 Kind: "ApplicationGet",
33 Key: key,
34 })
35 if err != nil {
36 a.c.log.Warn("failed to make data request for application", "error", err)
37 return ari.NewApplicationHandle(key, a)
38 }
39 return ari.NewApplicationHandle(k, a)
40}
41
42func (a *application) Subscribe(key *ari.Key, eventSource string) (err error) {
43 return a.c.commandRequest(&proxy.Request{

Callers

nothing calls this directly

Calls 1

getRequestMethod · 0.80

Tested by

no test coverage detected