(class string, req *proxy.Request)
| 586 | } |
| 587 | |
| 588 | func (c *Client) subject(class string, req *proxy.Request) string { |
| 589 | if req == nil || req.Key == nil { |
| 590 | return proxy.Subject(c.core.prefix, class, c.appName, "") |
| 591 | } |
| 592 | return proxy.Subject(c.core.prefix, class, req.Key.App, req.Key.Node) |
| 593 | } |
| 594 | |
| 595 | // TimeoutCount is the amount of times the communication times out |
| 596 | func (c *Client) TimeoutCount() int64 { |
no test coverage detected