func()

in plugin/v2/plugin.go [176:186]


func (g *Plugin) setKeyID(name string) string {
	result := name
	if v := g.keySuffix; v != "" {
		result = result + ":" + v
	}

	g.lastKeyIDLock.Lock()
	defer g.lastKeyIDLock.Unlock()
	g.lastKeyID = result
	return result
}