MCPcopy Create free account
hub / github.com/CyCoreSystems/ari-proxy / subject

Method subject

client/client.go:588–593  ·  view source on GitHub ↗
(class string, req *proxy.Request)

Source from the content-addressed store, hash-verified

586}
587
588func (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
596func (c *Client) TimeoutCount() int64 {

Callers 3

makeRequestMethod · 0.95
makeRequestsMethod · 0.95

Calls 1

SubjectFunction · 0.92

Tested by

no test coverage detected