# frozen_string_literal: true module Wayfarer module Config Networking = Struct.new(agent: { env_key: "WAYFARER_NETWORK_AGENT", type: Symbol, default: :http }, pool_size: { env_key: "WAYFARER_NETWORK_POOL_SIZE", type: Integer, default: 3 }, pool_timeout: { env_key: "WAYFARER_NETWORK_POOL_TIMEOUT", type: Integer, default: 10 }, http_headers: { env_key: "WAYFARER_NETWORK_HTTP_HEADERS", type: Hash, default: {} }) end end