class Protobuf::Rpc::Service

def configure(config={})


will not have to configure the location each time.
so that any Clients using the Service.client sugar
Useful for system-startup configuration of a service
Allows service-level configuration of location.
def configure(config={})
  locations[self] ||= {}
  locations[self][:host] = config[:host] if config.key?(:host)
  locations[self][:port] = config[:port] if config.key?(:port)
end