1
0
mirror of https://github.com/kataras/iris.git synced 2026-01-04 02:37:14 +00:00
Former-commit-id: 7b5d5530279789a3118190feb57776948b305662
This commit is contained in:
Gerasimos (Makis) Maropoulos
2019-06-07 21:07:08 +03:00
parent 9c92952a40
commit 7af5f139e0
40 changed files with 73 additions and 73 deletions

View File

@@ -44,7 +44,7 @@ func (r *Service) CloseConnection() error {
}
// Set sets a key-value to the redis store.
// The expiration is setted by the MaxAgeSeconds.
// The expiration is set by the MaxAgeSeconds.
func (r *Service) Set(key string, value interface{}, secondsLifetime int64) (err error) {
c := r.pool.Get()
defer c.Close()