line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package IO::Iron; |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
## no critic (Documentation::RequirePodAtEnd) |
4
|
|
|
|
|
|
|
## no critic (Documentation::RequirePodSections) |
5
|
|
|
|
|
|
|
|
6
|
3
|
|
|
3
|
|
64412
|
use 5.010_000; |
|
3
|
|
|
|
|
23
|
|
7
|
3
|
|
|
3
|
|
14
|
use strict; |
|
3
|
|
|
|
|
7
|
|
|
3
|
|
|
|
|
55
|
|
8
|
3
|
|
|
3
|
|
13
|
use warnings; |
|
3
|
|
|
|
|
13
|
|
|
3
|
|
|
|
|
109
|
|
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
# Global creator |
11
|
|
|
|
|
|
|
BEGIN { |
12
|
3
|
|
|
3
|
|
422
|
use parent qw( Exporter ); |
|
3
|
|
|
|
|
348
|
|
|
3
|
|
|
|
|
15
|
|
13
|
3
|
|
|
3
|
|
243
|
our (@EXPORT_OK, %EXPORT_TAGS); |
14
|
3
|
|
|
|
|
11
|
%EXPORT_TAGS = ( 'all' => [ qw(ironcache ironmq ironworker) ] ); |
15
|
3
|
|
|
|
|
467
|
@EXPORT_OK = qw(all ironcache ironmq ironworker); |
16
|
|
|
|
|
|
|
} |
17
|
|
|
|
|
|
|
our @EXPORT_OK; |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
# Global destructor |
20
|
|
|
|
3
|
|
|
END { |
21
|
|
|
|
|
|
|
} |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
# ABSTRACT: Client Libraries to Iron services IronCache, IronMQ and IronWorker. |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
our $VERSION = '0.13'; # VERSION: generated by DZP::OurPkgVersion |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
require IO::Iron::IronCache::Client; |
31
|
|
|
|
|
|
|
require IO::Iron::IronMQ::Client; |
32
|
|
|
|
|
|
|
require IO::Iron::IronWorker::Client; |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
sub ironcache { |
41
|
0
|
|
|
0
|
1
|
|
my (%params) = @_; |
42
|
0
|
|
|
|
|
|
return IO::Iron::IronCache::Client->new( \%params ); |
43
|
|
|
|
|
|
|
} |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
sub ironmq { |
47
|
0
|
|
|
0
|
1
|
|
my (%params) = @_; |
48
|
0
|
|
|
|
|
|
return IO::Iron::IronMQ::Client->new( \%params ); |
49
|
|
|
|
|
|
|
} |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
sub ironworker { |
53
|
0
|
|
|
0
|
1
|
|
my (%params) = @_; |
54
|
0
|
|
|
|
|
|
return IO::Iron::IronWorker::Client->new( %params ); |
55
|
|
|
|
|
|
|
} |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
1; |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
__END__ |