mirror of
https://github.com/lukaszraczylo/go-simple-graphql.git
synced 2026-10-12 00:45:31 +00:00
Add self-sufficient cache and abandon outdated library.
This commit is contained in:
+2
-2
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user