Add initial redis support

This commit is contained in:
eleksir
2021-12-11 13:57:23 +03:00
parent 71a2471725
commit ab89105168
4 changed files with 61 additions and 1 deletions

28
lib/RedisLib.pm Normal file
View File

@@ -0,0 +1,28 @@
package RedisLib;
use 5.018;
use strict;
use warnings;
use utf8;
use open qw (:std :utf8);
use Log::Any qw ($log);
use Data::Dumper;
use version; our $VERSION = qw (1.0);
use Exporter qw (import);
our @EXPORT_OK = qw (redisListener);
sub parse_message {
my $self = shift;
my $m = shift;
my $answer = $m;
my $send_to = $answer->{from};
$log->error (Dumper $self);
return;
};
1;
# vim: set ft=perl noet ai ts=4 sw=4 sts=4: