Mercurial > gemma
diff auth/inmemory.go @ 151:3349bfc2a047
Shutdown server gracefully.
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Mon, 02 Jul 2018 13:23:31 +0200 |
parents | 0116aae1071b |
children |
line wrap: on
line diff
--- a/auth/inmemory.go Mon Jul 02 12:54:07 2018 +0200 +++ b/auth/inmemory.go Mon Jul 02 13:23:31 2018 +0200 @@ -2,6 +2,7 @@ import ( "database/sql" + "log" "time" ) @@ -198,3 +199,8 @@ } return <-res } + +func (cp *InMemoryConnectionPool) Shutdown() error { + log.Println("info: shutdown in-memory connection pool.") + return nil +}