(key *ari.Key)
| 28 | } |
| 29 | |
| 30 | func (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 | |
| 42 | func (a *application) Subscribe(key *ari.Key, eventSource string) (err error) { |
| 43 | return a.c.commandRequest(&proxy.Request{ |
nothing calls this directly
no test coverage detected