MCPcopy Index your code
hub / github.com/golang/groupcache / GetGroup

Function GetGroup

groupcache.go:68–73  ·  view source on GitHub ↗

GetGroup returns the named group previously created with NewGroup, or nil if there's no such group.

(name string)

Source from the content-addressed store, hash-verified

66// GetGroup returns the named group previously created with NewGroup, or
67// nil if there's no such group.
68func GetGroup(name string) *Group {
69 mu.RLock()
70 g := groups[name]
71 mu.RUnlock()
72 return g
73}
74
75// NewGroup creates a coordinated group-aware Getter from a Getter.
76//

Callers 1

ServeHTTPMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…