module SSLGate

Public Class Methods

factory(config) click to toggle source
# File lib/ssl_gate.rb, line 25
def self.factory(config)
  config.each do |key, conf|
    case conf[:target]
    when /http/ then HTTPServerAll.start conf
    else RawServerAll.start conf
    end
  end
end