(ctx context.Context, reply string, req *proxy.Request)
| 35 | } |
| 36 | |
| 37 | func (s *Server) applicationGet(ctx context.Context, reply string, req *proxy.Request) { |
| 38 | data, err := s.ari.Application().Data(req.Key) |
| 39 | if err != nil { |
| 40 | s.sendError(reply, err) |
| 41 | return |
| 42 | } |
| 43 | |
| 44 | s.publish(reply, &proxy.Response{ |
| 45 | Key: data.Key, |
| 46 | }) |
| 47 | } |
| 48 | |
| 49 | func parseEventSource(src string) (string, string, error) { |
| 50 | var err error |
nothing calls this directly
no test coverage detected