// Domain retrieves per-route access given a domain name.
Domain retrieves per-route access given a domain name.
// Domain retrieves per - route access given a domain name .
func (m *identityWhitelist) Domain(route, domain string) bool {
	m.RLock()
	defer m.RUnlock()
	return m.m[fmt.Sprintf("%s|domain:%s", route, domain)]
}
func ( m * identityWhitelist ) Domain ( route , domain string ) bool { m . RLock ( ) defer m . RUnlock ( ) return m . m [ fmt . Sprintf ( " " , route , domain ) ] }
Domain retrieves per-route access given a domain name.
Domain retrieves per - route access given a domain name .