func (s *servers) Caller(domain string) (Caller, error) {
	s.mutex.RLock()
	defer s.mutex.RUnlock()
	srvs, ok := s.servers[domain]
	if !ok {
		return nil, errors.New(ErrNoServerDefined, errorMessages, domain)
	}
	return newCaller(domain, srvs), nil
}
// Caller implements the Servers interface.
Caller implements the Servers interface.
// Caller implements the Servers interface .
func (s *servers) Caller(domain string) (Caller, error) {
	s.mutex.RLock()
	defer s.mutex.RUnlock()
	srvs, ok := s.servers[domain]
	if !ok {
		return nil, errors.New(ErrNoServerDefined, errorMessages, domain)
	}
	return newCaller(domain, srvs), nil
}
func ( s * servers ) Caller ( domain string ) ( Caller , error ) { s . mutex . RLock ( ) defer s . mutex . RUnlock ( ) srvs , ok := s . servers [ domain ] if ! ok { return nil , errors . New ( ErrNoServerDefined , errorMessages , domain ) } return newCaller ( domain , srvs ) , nil }
Caller implements the Servers interface.
Caller implements the Servers interface .