From 3e42809ddc196e1a5467912cbdd93b09756234a2 Mon Sep 17 00:00:00 2001 From: meme-lord Date: Sat, 27 Apr 2024 19:01:04 +0100 Subject: [PATCH] Added GetStatistics function --- v2/pkg/runner/stats.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/v2/pkg/runner/stats.go b/v2/pkg/runner/stats.go index c9a10dffc..4d9ee8f23 100644 --- a/v2/pkg/runner/stats.go +++ b/v2/pkg/runner/stats.go @@ -40,3 +40,7 @@ func printStatistics(stats map[string]subscraping.Statistics) { gologger.Print().Msgf("\n\n") } } + +func (r *Runner) GetStatistics() map[string]subscraping.Statistics { + return r.passiveAgent.GetStatistics() +}