memcachir v3.2.2 Memcachir.Util

Utilities to read configuration.

Link to this section Summary

Functions

Keep service discovery inference backwards compatible for now. The cascade is

Link to this section Functions

Link to this function determine_service_discovery()

Keep service discovery inference backwards compatible for now. The cascade is:

  • if :memcachir, :elasticache is set, use Memcachir.ServiceDiscovery.Elasticache
  • if :memcachir, :hosts is set, use Memcachir.ServiceDiscovery.Hosts
  • otherwise use what is configured in :memcachir, :service_discovery (defaulting to Hosts)
Link to this function parse_hostname(hostnames)