(ctx context.Context, reply string, req *proxy.Request)
| 23 | } |
| 24 | |
| 25 | func (s *Server) applicationList(ctx context.Context, reply string, req *proxy.Request) { |
| 26 | list, err := s.ari.Application().List(nil) |
| 27 | if err != nil { |
| 28 | s.sendError(reply, err) |
| 29 | return |
| 30 | } |
| 31 | |
| 32 | s.publish(reply, &proxy.Response{ |
| 33 | Keys: list, |
| 34 | }) |
| 35 | } |
| 36 | |
| 37 | func (s *Server) applicationGet(ctx context.Context, reply string, req *proxy.Request) { |
| 38 | data, err := s.ari.Application().Data(req.Key) |
nothing calls this directly
no test coverage detected