aboutsummaryrefslogtreecommitdiff
path: root/go.mod
diff options
context:
space:
mode:
authorMax Magorsch <arzano@gentoo.org>2020-11-08 19:56:00 +0100
committerMax Magorsch <arzano@gentoo.org>2020-11-08 19:56:00 +0100
commita557cfc136aa8a2702a89cb0dedd2d130a0bf21a (patch)
treec7295e9e2e3bcafcc39ea00f96cfb5ab2d6724cf /go.mod
parentAdd case "heptapod" item into func RemoteIdLink() (diff)
downloadsoko-a557cfc136aa8a2702a89cb0dedd2d130a0bf21a.tar.gz
soko-a557cfc136aa8a2702a89cb0dedd2d130a0bf21a.tar.bz2
soko-a557cfc136aa8a2702a89cb0dedd2d130a0bf21a.zip
Add a periodical selfcheck
This can be used to check whether any of the information in the database are outdated. The findings are exported as prometheus metric. In former times this check has been done externally. Now it is directly integrated into soko as lately there have been some reports about outdated information again. Please note that this is currently still a WIP and rather a first approach to get a feeling for the current situation then a perfect solution. Signed-off-by: Max Magorsch <arzano@gentoo.org>
Diffstat (limited to 'go.mod')
-rw-r--r--go.mod2
1 files changed, 2 insertions, 0 deletions
diff --git a/go.mod b/go.mod
index cab5212..2d2e8f1 100644
--- a/go.mod
+++ b/go.mod
@@ -4,9 +4,11 @@ go 1.13
require (
github.com/99designs/gqlgen v0.11.3
+ github.com/go-git/go-git/v5 v5.2.0
github.com/go-pg/pg v8.0.6+incompatible
github.com/go-pg/pg/v9 v9.1.3
github.com/gorilla/feeds v1.1.1
+ github.com/jasonlvhit/gocron v0.0.1
github.com/mcuadros/go-version v0.0.0-20190830083331-035f6764e8d2
github.com/prometheus/client_golang v1.8.0
github.com/vektah/gqlparser/v2 v2.0.1