The io/ioutil package has been deprecated as of Go 1.16 [1]. This commit
replaces the existing io/ioutil functions with their new definitions in
io and os packages.
[1]: https://golang.org/doc/go1.16#ioutil
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
* add dynamic options for cache
* fixed bugs based on unit-test
* add doc for cache
* make cache implements be private
* Change simpleCache name to InMemoryCache
Signed-off-by: Wenhao Zhou <wenhaozhou@yunify.com>
* Remove fake cache and replacing to in memory cache with default parameter
Signed-off-by: Wenhao Zhou <wenhaozhou@yunify.com>
Signed-off-by: Wenhao Zhou <wenhaozhou@yunify.com>