Remove external library dependency, use homebrewed cache instead.

This commit is contained in:
2023-10-13 15:22:47 +01:00
parent bf18f36e45
commit dbd005bdcf
5 changed files with 96 additions and 14 deletions
+2 -2
View File
@@ -1,8 +1,8 @@
package main
import (
"github.com/akyoto/cache"
graphql "github.com/lukaszraczylo/go-simple-graphql"
libpack_cache "github.com/lukaszraczylo/graphql-monitoring-proxy/cache"
libpack_logging "github.com/lukaszraczylo/graphql-monitoring-proxy/logging"
libpack_monitoring "github.com/lukaszraczylo/graphql-monitoring-proxy/monitoring"
"github.com/valyala/fasthttp"
@@ -36,7 +36,7 @@ type config struct {
Cache struct {
CacheEnable bool
CacheTTL int
CacheClient *cache.Cache
CacheClient *libpack_cache.Cache
}
Security struct {