diff auth/pool.go @ 220:11d1a488b08f

Depend command line parsing on Viper/Cobra. Configuration should be persistent now.
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Tue, 24 Jul 2018 17:45:17 +0200
parents 2fad2931a5a6
children 9012e4045da4
line wrap: on
line diff
--- a/auth/pool.go	Tue Jul 24 16:19:05 2018 +0200
+++ b/auth/pool.go	Tue Jul 24 17:45:17 2018 +0200
@@ -9,6 +9,9 @@
 	bolt "github.com/coreos/bbolt"
 )
 
+// ConnPool is the global connection pool.
+var ConnPool *ConnectionPool
+
 type ConnectionPool struct {
 	storage *bolt.DB
 	conns   map[string]*Connection