=encoding UTF-8 =head1 NAME Gungho::Component::Throttle::Domain.ja - ドメイン/ホスト毎にスロットリング =head1 SYNOPSIS --- throttle: domain: max_items 1000 interval: 3600 domains: - match: 'A [Regular]+ Exp?ression' - match: \.cpan\.org$ components: - Throttle::Domain =head1 DESCRIPITION このモジュールを使用するとドメイン/ホスト毎のアクセス数をスロットリング するこおができます。 =head1 METHODS =head2 setup オブジェクトを初期化します。 =head2 throttle($request) 設定されたリクエスト総数範囲内であれば正、超えると負を返します =cut