1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-18 02:17:05 +00:00

simple version checker ✌️

Former-commit-id: 077b9c9816211c84adda864a832acf8c1296eeaf
This commit is contained in:
hiveminded
2017-08-09 17:12:24 +03:00
parent e23f821341
commit be8295eb50
6 changed files with 170 additions and 2 deletions

View File

@@ -191,7 +191,7 @@ func (db *Database) destroy(bsid []byte) error {
// we store the whole data to the key-value pair of the root bucket
// so we don't need a separate bucket for each session
// this method could be faster if we had large data to store
// but with sessions we recommend small ammount of data, so the method finally choosen
// but with sessions we recommend small amount of data, so the method finally chosen
// is faster (decode/encode the whole store + lifetime and return it as it's)
//
// func (db *Database) getSessBucket(tx *bolt.Tx, sid string) (*bolt.Bucket, error) {