(req *proxy.Request)
| 577 | } |
| 578 | |
| 579 | func (c *Client) completeCoordinates(req *proxy.Request) bool { |
| 580 | if req == nil || req.Key == nil { |
| 581 | return false |
| 582 | } |
| 583 | |
| 584 | // coordinates are complete if we have both app and node |
| 585 | return req.Key.App != "" && req.Key.Node != "" |
| 586 | } |
| 587 | |
| 588 | func (c *Client) subject(class string, req *proxy.Request) string { |
| 589 | if req == nil || req.Key == nil { |