Add self-sufficient cache and abandon outdated library.

This commit is contained in:
2023-10-13 20:35:20 +01:00
parent 1df2ae5d16
commit ca13be5ef6
5 changed files with 23 additions and 27 deletions
+2 -2
View File
@@ -4,12 +4,12 @@ import (
"context"
"net/http"
"github.com/akyoto/cache"
"github.com/lukaszraczylo/go-simple-graphql/utils/logger"
libpack_cache "github.com/lukaszraczylo/graphql-monitoring-proxy/cache"
)
type cacheStore struct {
client *cache.Cache
client *libpack_cache.Cache
ttl int
enabled bool
}