diff --git a/memcache/README.md b/memcache/README.md index bdf6703d..e622a28e 100644 --- a/memcache/README.md +++ b/memcache/README.md @@ -14,7 +14,14 @@ A Memcache storage driver using [`bradfitz/gomemcache`](https://github.com/bradf func New(config ...Config) Storage var ErrNotExist = errors.New("key does not exist") + +func (s *Storage) Get(key string) ([]byte, error) +func (s *Storage) Set(key string, val []byte, exp time.Duration) error +func (s *Storage) Delete(key string) error +func (s *Storage) Reset() error +func (s *Storage) Close() error ``` + ### Installation Memory is tested on the 2 last [Go versions](https://golang.org/dl/) with support for modules. So make sure to initialize one first if you didn't do that yet: ```bash diff --git a/memory/README.md b/memory/README.md index 5113386e..8d5c9ffa 100644 --- a/memory/README.md +++ b/memory/README.md @@ -20,6 +20,7 @@ func (s *Storage) Get(key string) ([]byte, error) func (s *Storage) Set(key string, val []byte, exp time.Duration) error func (s *Storage) Delete(key string) error func (s *Storage) Reset() error +func (s *Storage) Close() error ``` ### Installation diff --git a/mongodb/README.md b/mongodb/README.md index 86cefc42..4c56a0f0 100644 --- a/mongodb/README.md +++ b/mongodb/README.md @@ -19,6 +19,7 @@ func (s *Storage) Get(key string) ([]byte, error) func (s *Storage) Set(key string, val []byte, exp time.Duration) error func (s *Storage) Delete(key string) error func (s *Storage) Reset() error +func (s *Storage) Close() error ``` ### Installation MongoDB is tested on the 2 last [Go versions](https://golang.org/dl/) with support for modules. So make sure to initialize one first if you didn't do that yet: diff --git a/mysql/README.md b/mysql/README.md index 169eb6fb..ed468e25 100644 --- a/mysql/README.md +++ b/mysql/README.md @@ -19,6 +19,7 @@ func (s *Storage) Get(key string) ([]byte, error) func (s *Storage) Set(key string, val []byte, exp time.Duration) error func (s *Storage) Delete(key string) error func (s *Storage) Reset() error +func (s *Storage) Close() error ``` ### Installation MySQL is tested on the 2 last [Go versions](https://golang.org/dl/) with support for modules. So make sure to initialize one first if you didn't do that yet: diff --git a/postgres/README.md b/postgres/README.md index 6e745281..a47ed091 100644 --- a/postgres/README.md +++ b/postgres/README.md @@ -19,6 +19,7 @@ func (s *Storage) Get(key string) ([]byte, error) func (s *Storage) Set(key string, val []byte, exp time.Duration) error func (s *Storage) Delete(key string) error func (s *Storage) Reset() error +func (s *Storage) Close() error ``` ### Installation Postgres is tested on the 2 last [Go versions](https://golang.org/dl/) with support for modules. So make sure to initialize one first if you didn't do that yet: diff --git a/redis/README.md b/redis/README.md index 46009e62..30ed2291 100644 --- a/redis/README.md +++ b/redis/README.md @@ -19,6 +19,7 @@ func (s *Storage) Get(key string) ([]byte, error) func (s *Storage) Set(key string, val []byte, exp time.Duration) error func (s *Storage) Delete(key string) error func (s *Storage) Reset() error +func (s *Storage) Close() error ``` ### Installation Redis is tested on the 2 last [Go versions](https://golang.org/dl/) with support for modules. So make sure to initialize one first if you didn't do that yet: diff --git a/sqlite3/README.md b/sqlite3/README.md index 4483b917..abc29149 100644 --- a/sqlite3/README.md +++ b/sqlite3/README.md @@ -19,6 +19,7 @@ func (s *Storage) Get(key string) ([]byte, error) func (s *Storage) Set(key string, val []byte, exp time.Duration) error func (s *Storage) Delete(key string) error func (s *Storage) Reset() error +func (s *Storage) Close() error ``` ### Installation SQLite3 is tested on the 2 last [Go versions](https://golang.org/dl/) with support for modules. So make sure to initialize one first if you didn't do that yet: