Skip to content

Commit

Permalink
fix(multiple): storers and apip (#545)
Browse files Browse the repository at this point in the history
* fix(multiple): storers and apip

* fix(caddy): db name as string

* wip(surrogate): invalidate

* fix(caddy): sanitize redis

* fix(caddy): E2E

* upgrade(version): v1.6.50

* bump(deps): storages v0.0.8
  • Loading branch information
darkweak authored Aug 21, 2024
1 parent 65cb241 commit bf786a2
Show file tree
Hide file tree
Showing 48 changed files with 486 additions and 451 deletions.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -181,3 +181,5 @@ vendor-plugins: ## Generate and prepare vendors for each plugin
cd plugins/$$plugin && ($(MAKE) vendor || true) && cd -; \
done
cd plugins/caddy && go mod tidy && go mod download
cd plugins/souin && go mod tidy && go mod download
cd plugins/souin/storages && go mod tidy && go mod download
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -952,7 +952,7 @@ experimental:
plugins:
souin:
moduleName: github.com/darkweak/souin
version: v1.6.49
version: v1.6.50
```
After that you can declare either the whole configuration at once in the middleware block or by service. See the examples below.
```yaml
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ go 1.22.1
require (
github.com/caddyserver/caddy/v2 v2.8.4
github.com/cespare/xxhash/v2 v2.2.0
github.com/darkweak/storages/core v0.0.7
github.com/darkweak/storages/core v0.0.8
github.com/google/uuid v1.6.0
github.com/pierrec/lz4/v4 v4.1.21
github.com/pquerna/cachecontrol v0.2.0
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,8 @@ github.com/cpuguy83/go-md2man/v2 v2.0.3/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46t
github.com/creack/pty v1.1.7/go.mod h1:lj5s0c3V2DBrqTV7llrYr5NG6My20zk30Fl46Y7DoTY=
github.com/darkweak/go-esi v0.0.5 h1:b9LHI8Tz46R+i6p8avKPHAIBRQUCZDebNmKm5w/Zrns=
github.com/darkweak/go-esi v0.0.5/go.mod h1:koCJqwum1u6mslyZuq/Phm6hfG1K3ZK5Y7jrUBTH654=
github.com/darkweak/storages/core v0.0.7 h1:QVbiNOjRvqfXtTy3a+SadCghzsATHO+4xazBhmuyPVk=
github.com/darkweak/storages/core v0.0.7/go.mod h1:ajTpB9IFLRIRY0EEFLjM5vtsrcNTh+TJK9yRxgG5/wY=
github.com/darkweak/storages/core v0.0.8 h1:9e7rOxHiJwnvADDVCZ7LFRnUnOHGT+UMpNOFlR8BOiw=
github.com/darkweak/storages/core v0.0.8/go.mod h1:ajTpB9IFLRIRY0EEFLjM5vtsrcNTh+TJK9yRxgG5/wY=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
Expand Down
2 changes: 1 addition & 1 deletion pkg/middleware/middleware.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ func NewHTTPCacheHandler(c configurationtypes.AbstractConfigurationInterface) *S
storers := []types.Storer{}
if len(storedStorers) != 0 {
dc := c.GetDefaultCache()
for _, s := range []string{dc.GetBadger().Uuid, dc.GetEtcd().Uuid, dc.GetNuts().Uuid, dc.GetOlric().Uuid, dc.GetOtter().Uuid, dc.GetRedis().Uuid} {
for _, s := range []string{dc.GetBadger().Uuid, dc.GetEtcd().Uuid, dc.GetNats().Uuid, dc.GetNuts().Uuid, dc.GetOlric().Uuid, dc.GetOtter().Uuid, dc.GetRedis().Uuid} {
if s != "" {
if st := core.GetRegisteredStorer(s); st != nil {
storers = append(storers, st.(types.Storer))
Expand Down
1 change: 1 addition & 0 deletions pkg/storage/defaultProvider.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ func (provider *Default) MapKeys(prefix string) map[string]string {

return true
}

if v, ok := value.(*core.StorageMapper); ok {
for _, v := range v.Mapping {
if v.StaleTime.AsTime().After(now) {
Expand Down
8 changes: 6 additions & 2 deletions pkg/surrogate/providers/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,11 @@ func uniqueTag(values []string) []string {
}
if _, found := tmp[item]; !found {
tmp[item] = true
i, _ := url.QueryUnescape(item)
list = append(list, i)

if strings.Contains(item, "%3B") || strings.Contains(item, "%3A") {
item, _ = url.QueryUnescape(item)
}
list = append(list, item)
}
}

Expand Down Expand Up @@ -237,6 +240,7 @@ func (s *baseStorage) Store(response *http.Response, cacheKey, uri, basekey stri

urlRegexp = regexp.MustCompile("(^|" + regexp.QuoteMeta(souinStorageSeparator) + ")" + regexp.QuoteMeta(basekey) + "(" + regexp.QuoteMeta(souinStorageSeparator) + "|$)")
s.storeTag(uri, basekey, urlRegexp)
s.storeTag(uri, cacheKey, urlRegexp)

return nil
}
Expand Down
20 changes: 10 additions & 10 deletions plugins/beego/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ toolchain go1.22.4

require (
github.com/beego/beego/v2 v2.1.1
github.com/darkweak/souin v1.6.49
github.com/darkweak/souin v1.6.50
github.com/darkweak/souin/plugins/souin v0.0.0-00010101000000-000000000000
github.com/darkweak/souin/plugins/souin/storages v0.0.0-00010101000000-000000000000
)
Expand Down Expand Up @@ -40,14 +40,14 @@ require (
github.com/coreos/go-systemd/v22 v22.5.0 // indirect
github.com/cpuguy83/go-md2man/v2 v2.0.3 // indirect
github.com/darkweak/go-esi v0.0.5 // indirect
github.com/darkweak/storages/badger v0.0.7 // indirect
github.com/darkweak/storages/core v0.0.7 // indirect
github.com/darkweak/storages/etcd v0.0.7 // indirect
github.com/darkweak/storages/nats v0.0.7 // indirect
github.com/darkweak/storages/nuts v0.0.7 // indirect
github.com/darkweak/storages/olric v0.0.7 // indirect
github.com/darkweak/storages/otter v0.0.7 // indirect
github.com/darkweak/storages/redis v0.0.7 // indirect
github.com/darkweak/storages/badger v0.0.8 // indirect
github.com/darkweak/storages/core v0.0.8 // indirect
github.com/darkweak/storages/etcd v0.0.8 // indirect
github.com/darkweak/storages/nats v0.0.8 // indirect
github.com/darkweak/storages/nuts v0.0.8 // indirect
github.com/darkweak/storages/olric v0.0.8 // indirect
github.com/darkweak/storages/otter v0.0.8 // indirect
github.com/darkweak/storages/redis v0.0.8 // indirect
github.com/dgraph-io/badger v1.6.2 // indirect
github.com/dgraph-io/badger/v2 v2.2007.4 // indirect
github.com/dgraph-io/badger/v3 v3.2103.5 // indirect
Expand Down Expand Up @@ -184,7 +184,7 @@ require (
)

replace (
github.com/darkweak/souin v1.6.49 => ../..
github.com/darkweak/souin v1.6.50 => ../..
github.com/darkweak/souin/plugins/souin => ../souin
github.com/darkweak/souin/plugins/souin/storages => ../souin/storages
)
32 changes: 16 additions & 16 deletions plugins/beego/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -141,22 +141,22 @@ github.com/cpuguy83/go-md2man/v2 v2.0.3/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46t
github.com/creack/pty v1.1.7/go.mod h1:lj5s0c3V2DBrqTV7llrYr5NG6My20zk30Fl46Y7DoTY=
github.com/darkweak/go-esi v0.0.5 h1:b9LHI8Tz46R+i6p8avKPHAIBRQUCZDebNmKm5w/Zrns=
github.com/darkweak/go-esi v0.0.5/go.mod h1:koCJqwum1u6mslyZuq/Phm6hfG1K3ZK5Y7jrUBTH654=
github.com/darkweak/storages/badger v0.0.7 h1:fXZfLcaDB6u4hprPQZqQuuqXU1w9FjGUTV08caUdOjg=
github.com/darkweak/storages/badger v0.0.7/go.mod h1:92D8gmbJ9e2luk5M4F+VgYW/uC/VDbljTqZyVA5iOas=
github.com/darkweak/storages/core v0.0.7 h1:QVbiNOjRvqfXtTy3a+SadCghzsATHO+4xazBhmuyPVk=
github.com/darkweak/storages/core v0.0.7/go.mod h1:ajTpB9IFLRIRY0EEFLjM5vtsrcNTh+TJK9yRxgG5/wY=
github.com/darkweak/storages/etcd v0.0.7 h1:gM4wWD2mMAQZfJRr3PyCFHKHqoeHZVsIbRZ2lOoWLDQ=
github.com/darkweak/storages/etcd v0.0.7/go.mod h1:oONedfyaSwDLv196Oac21U83sFwJy88kOsXvEkQECKU=
github.com/darkweak/storages/nats v0.0.7 h1:w4jicY5DcKTln/o4f0TS1Wss3k+vEjNQmG9ksj7yKKE=
github.com/darkweak/storages/nats v0.0.7/go.mod h1:2vn9or+zRtaHtmdbfzFWIX2oWVw0MDIIDxwZgKwBbaI=
github.com/darkweak/storages/nuts v0.0.7 h1:qAPDPFai+xsoGGGbyfPv9tPdZPNP8KEG9u+KpZfQERM=
github.com/darkweak/storages/nuts v0.0.7/go.mod h1:8T3bMBQ3aMelBvdOd5W+aRA7X7pesh4hISUtpcQKX0E=
github.com/darkweak/storages/olric v0.0.7 h1:cB0aD+d0s3TJfo4l2fNFpyRele6saBEWuE9O9T7vtaI=
github.com/darkweak/storages/olric v0.0.7/go.mod h1:4VVmr5yShTdCwH730meI5bHb8qbOn1LaPAXQFYjX72E=
github.com/darkweak/storages/otter v0.0.7 h1:cC4x884r3vv3dbupM98uOE2iYnnABgqbhYozszPiZ+A=
github.com/darkweak/storages/otter v0.0.7/go.mod h1:damYel7IKsDex0Z4ySBYjxk+MJ2yk6OO6whIQ0qbsHU=
github.com/darkweak/storages/redis v0.0.7 h1:a0+pQEZNRi0N0wtCyvwkJpZFPdi0QGUv5f6ig3R/+70=
github.com/darkweak/storages/redis v0.0.7/go.mod h1:PpjXSWQ1On5si7kXNHeHlH1r2RtPXKR3uhzuKlnxj1k=
github.com/darkweak/storages/badger v0.0.8 h1:rKVXrasVA74xgiqGRgW0kH11NUIlWwn9HiFyHUok85k=
github.com/darkweak/storages/badger v0.0.8/go.mod h1:ZmrNmKkFzyu/B3+1nsvVeTvyg2I2mOV5yTpT46mZ06o=
github.com/darkweak/storages/core v0.0.8 h1:9e7rOxHiJwnvADDVCZ7LFRnUnOHGT+UMpNOFlR8BOiw=
github.com/darkweak/storages/core v0.0.8/go.mod h1:ajTpB9IFLRIRY0EEFLjM5vtsrcNTh+TJK9yRxgG5/wY=
github.com/darkweak/storages/etcd v0.0.8 h1:Guzv6zgxkQJLjak36KsbtQqkmwMRJoZZI0B7ztZKIik=
github.com/darkweak/storages/etcd v0.0.8/go.mod h1:Yw9xJramKAzIRoC7tizVMYPSwUBHqxY5BPTh8OgyISY=
github.com/darkweak/storages/nats v0.0.8 h1:HRS3i2zzzIq1Qb3yoOUWD6MoRQgGV1NbECF1ex4wZjg=
github.com/darkweak/storages/nats v0.0.8/go.mod h1:ap1RYc9aQHYylUDVKh2G2KF2GTzxoB+oFk3tZ9lxJLE=
github.com/darkweak/storages/nuts v0.0.8 h1:obxlGOyvOGZw6TGTAMVrYqbH46z5kuHaF2zjbumTNUk=
github.com/darkweak/storages/nuts v0.0.8/go.mod h1:1vGrcWTRLMXamfubwyEfVf/AJA4L7DjYzezBko5ODPM=
github.com/darkweak/storages/olric v0.0.8 h1:QSRIBb8IyBlt/wxh5DkGiSsaeE6SiRtJZeJy3dNf4nU=
github.com/darkweak/storages/olric v0.0.8/go.mod h1:Qk7FK28K/ogIdneaZzoSLmTGfNlCxvvN7yhkEqjh/TE=
github.com/darkweak/storages/otter v0.0.8 h1:Tsv4NiLAiZyvovs4oCWT+WQUYe5YvbFvEx25W2NFfHg=
github.com/darkweak/storages/otter v0.0.8/go.mod h1:BBYxyWClX3PFdbvns6W95kLNNihq1FxljBYGIzP4snI=
github.com/darkweak/storages/redis v0.0.8 h1:0CHLkImyaI/sYs+IOurYLAxFkrmz5dFblhfpF7oGhQc=
github.com/darkweak/storages/redis v0.0.8/go.mod h1:pypJ5T3hweQWfHzFUjmZWeb1KaNK3ikNg1+rn0G+rD0=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
Expand Down
16 changes: 11 additions & 5 deletions plugins/caddy/configuration.go
Original file line number Diff line number Diff line change
Expand Up @@ -283,19 +283,25 @@ func parseBadgerConfiguration(c map[string]interface{}) map[string]interface{} {
func parseRedisConfiguration(c map[string]interface{}) map[string]interface{} {
for k, v := range c {
switch k {
case "InitAddress":
case "Addrs", "InitAddress":
if s, ok := v.(string); ok {
c[k] = []string{s}
} else {
c[k] = v
}
case "Username", "Password", "ClientName", "ClientSetInfo", "ClientTrackingOptions":
case "Username", "Password", "ClientName", "ClientSetInfo", "ClientTrackingOptions", "SentinelUsername", "SentinelPassword", "MasterName", "IdentitySuffix":
c[k] = v
case "SendToReplicas", "ShuffleInit", "ClientNoTouch", "DisableRetry", "DisableCache", "AlwaysPipelining", "AlwaysRESP2", "ForceSingleClient", "ReplicaOnly", "ClientNoEvict":
c[k] = true
case "SelectDB", "CacheSizeEachConn", "RingScaleEachConn", "ReadBufferEachConn", "WriteBufferEachConn", "BlockingPoolSize", "PipelineMultiplex":
c[k], _ = strconv.Atoi(v.(string))
case "ConnWriteTimeout", "MaxFlushDelay":
case "SelectDB", "CacheSizeEachConn", "RingScaleEachConn", "ReadBufferEachConn", "WriteBufferEachConn", "BlockingPoolSize", "PipelineMultiplex", "DB", "Protocol", "MaxRetries", "PoolSize", "MinIdleConns", "MaxIdleConns", "MaxActiveConns", "MaxRedirects":
if v == false {
c[k] = 0
} else if v == true {
c[k] = 1
} else {
c[k], _ = strconv.Atoi(v.(string))
}
case "ConnWriteTimeout", "MaxFlushDelay", "MinRetryBackoff", "MaxRetryBackoff", "DialTimeout", "ReadTimeout", "WriteTimeout", "PoolTimeout", "ConnMaxIdleTime", "ConnMaxLifetime":
c[k], _ = time.ParseDuration(v.(string))
}
}
Expand Down
38 changes: 30 additions & 8 deletions plugins/caddy/dispatch.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package httpcache

import (
"fmt"
"strconv"
"strings"

"github.com/caddyserver/caddy/v2"
)
Expand Down Expand Up @@ -119,31 +119,53 @@ func (s *SouinCaddyMiddleware) parseStorages(ctx caddy.Context) {
} else {
redis := s.Configuration.DefaultCache.Redis
address := redis.URL
dbname := 0
cname := "souin-redis"
username := ""
dbname := "0"
cname := ""
if c := redis.Configuration; c != nil {
p, ok := c.(map[string]interface{})
if ok {
// shared between go-redis and rueidis
if d, ok := p["Username"]; ok {
username = fmt.Sprint(d)
}
if d, ok := p["ClientName"]; ok {
cname = fmt.Sprint(d)
}

// rueidis
if d, ok := p["InitAddress"]; ok {
address = fmt.Sprint(d)
elements := make([]string, 0)

for _, elt := range d.([]interface{}) {
elements = append(elements, elt.(string))
}

address = strings.Join(elements, ",")
}
if d, ok := p["SelectDB"]; ok {
dbname, _ = strconv.Atoi(fmt.Sprint(d))
dbname = fmt.Sprint(d)
}

// go-redis
if d, ok := p["Addrs"]; ok {
address = fmt.Sprint(d)
elements := make([]string, 0)

for _, elt := range d.([]interface{}) {
elements = append(elements, elt.(string))
}

address = strings.Join(elements, ",")
}
if d, ok := p["DB"]; ok {
dbname, _ = strconv.Atoi(fmt.Sprint(d))
dbname = fmt.Sprint(d)
}
}
}
s.Configuration.DefaultCache.Redis.Uuid = fmt.Sprintf(
"REDIS-%s-%d-%s-%s",
"REDIS-%s-%s-%s-%s-%s",
address,
username,
dbname,
cname,
s.Configuration.DefaultCache.GetStale(),
Expand Down
6 changes: 3 additions & 3 deletions plugins/caddy/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ go 1.22.1

require (
github.com/caddyserver/caddy/v2 v2.8.4
github.com/darkweak/souin v1.6.49
github.com/darkweak/storages/core v0.0.7
github.com/darkweak/souin v1.6.50
github.com/darkweak/storages/core v0.0.8
)

require (
Expand Down Expand Up @@ -153,4 +153,4 @@ require (
howett.net/plist v1.0.0 // indirect
)

replace github.com/darkweak/souin v1.6.49 => ../..
replace github.com/darkweak/souin v1.6.50 => ../..
4 changes: 2 additions & 2 deletions plugins/caddy/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,8 @@ github.com/cpuguy83/go-md2man/v2 v2.0.3/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46t
github.com/creack/pty v1.1.7/go.mod h1:lj5s0c3V2DBrqTV7llrYr5NG6My20zk30Fl46Y7DoTY=
github.com/darkweak/go-esi v0.0.5 h1:b9LHI8Tz46R+i6p8avKPHAIBRQUCZDebNmKm5w/Zrns=
github.com/darkweak/go-esi v0.0.5/go.mod h1:koCJqwum1u6mslyZuq/Phm6hfG1K3ZK5Y7jrUBTH654=
github.com/darkweak/storages/core v0.0.7 h1:QVbiNOjRvqfXtTy3a+SadCghzsATHO+4xazBhmuyPVk=
github.com/darkweak/storages/core v0.0.7/go.mod h1:ajTpB9IFLRIRY0EEFLjM5vtsrcNTh+TJK9yRxgG5/wY=
github.com/darkweak/storages/core v0.0.8 h1:9e7rOxHiJwnvADDVCZ7LFRnUnOHGT+UMpNOFlR8BOiw=
github.com/darkweak/storages/core v0.0.8/go.mod h1:ajTpB9IFLRIRY0EEFLjM5vtsrcNTh+TJK9yRxgG5/wY=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
Expand Down
20 changes: 10 additions & 10 deletions plugins/chi/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module github.com/darkweak/souin/plugins/chi
go 1.22.1

require (
github.com/darkweak/souin v1.6.49
github.com/darkweak/souin v1.6.50
github.com/darkweak/souin/plugins/souin/storages v0.0.0-00010101000000-000000000000
github.com/go-chi/chi/v5 v5.0.12
)
Expand Down Expand Up @@ -37,14 +37,14 @@ require (
github.com/coreos/go-systemd/v22 v22.5.0 // indirect
github.com/cpuguy83/go-md2man/v2 v2.0.3 // indirect
github.com/darkweak/go-esi v0.0.6 // indirect
github.com/darkweak/storages/badger v0.0.7 // indirect
github.com/darkweak/storages/core v0.0.7 // indirect
github.com/darkweak/storages/etcd v0.0.7 // indirect
github.com/darkweak/storages/nats v0.0.7 // indirect
github.com/darkweak/storages/nuts v0.0.7 // indirect
github.com/darkweak/storages/olric v0.0.7 // indirect
github.com/darkweak/storages/otter v0.0.7 // indirect
github.com/darkweak/storages/redis v0.0.7 // indirect
github.com/darkweak/storages/badger v0.0.8 // indirect
github.com/darkweak/storages/core v0.0.8 // indirect
github.com/darkweak/storages/etcd v0.0.8 // indirect
github.com/darkweak/storages/nats v0.0.8 // indirect
github.com/darkweak/storages/nuts v0.0.8 // indirect
github.com/darkweak/storages/olric v0.0.8 // indirect
github.com/darkweak/storages/otter v0.0.8 // indirect
github.com/darkweak/storages/redis v0.0.8 // indirect
github.com/dgraph-io/badger v1.6.2 // indirect
github.com/dgraph-io/badger/v2 v2.2007.4 // indirect
github.com/dgraph-io/badger/v3 v3.2103.5 // indirect
Expand Down Expand Up @@ -179,6 +179,6 @@ require (
)

replace (
github.com/darkweak/souin v1.6.49 => ../..
github.com/darkweak/souin v1.6.50 => ../..
github.com/darkweak/souin/plugins/souin/storages => ../souin/storages
)
32 changes: 16 additions & 16 deletions plugins/chi/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -139,22 +139,22 @@ github.com/cpuguy83/go-md2man/v2 v2.0.3/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46t
github.com/creack/pty v1.1.7/go.mod h1:lj5s0c3V2DBrqTV7llrYr5NG6My20zk30Fl46Y7DoTY=
github.com/darkweak/go-esi v0.0.6 h1:eVHCJfqrZwOHPfRK7JTlSYG9F8lfpX/d4lz/41RQkd8=
github.com/darkweak/go-esi v0.0.6/go.mod h1:IJSayeQZDUh5R5ayyDC3wUEBykti12aUa0eUxZZeodk=
github.com/darkweak/storages/badger v0.0.7 h1:fXZfLcaDB6u4hprPQZqQuuqXU1w9FjGUTV08caUdOjg=
github.com/darkweak/storages/badger v0.0.7/go.mod h1:92D8gmbJ9e2luk5M4F+VgYW/uC/VDbljTqZyVA5iOas=
github.com/darkweak/storages/core v0.0.7 h1:QVbiNOjRvqfXtTy3a+SadCghzsATHO+4xazBhmuyPVk=
github.com/darkweak/storages/core v0.0.7/go.mod h1:ajTpB9IFLRIRY0EEFLjM5vtsrcNTh+TJK9yRxgG5/wY=
github.com/darkweak/storages/etcd v0.0.7 h1:gM4wWD2mMAQZfJRr3PyCFHKHqoeHZVsIbRZ2lOoWLDQ=
github.com/darkweak/storages/etcd v0.0.7/go.mod h1:oONedfyaSwDLv196Oac21U83sFwJy88kOsXvEkQECKU=
github.com/darkweak/storages/nats v0.0.7 h1:w4jicY5DcKTln/o4f0TS1Wss3k+vEjNQmG9ksj7yKKE=
github.com/darkweak/storages/nats v0.0.7/go.mod h1:2vn9or+zRtaHtmdbfzFWIX2oWVw0MDIIDxwZgKwBbaI=
github.com/darkweak/storages/nuts v0.0.7 h1:qAPDPFai+xsoGGGbyfPv9tPdZPNP8KEG9u+KpZfQERM=
github.com/darkweak/storages/nuts v0.0.7/go.mod h1:8T3bMBQ3aMelBvdOd5W+aRA7X7pesh4hISUtpcQKX0E=
github.com/darkweak/storages/olric v0.0.7 h1:cB0aD+d0s3TJfo4l2fNFpyRele6saBEWuE9O9T7vtaI=
github.com/darkweak/storages/olric v0.0.7/go.mod h1:4VVmr5yShTdCwH730meI5bHb8qbOn1LaPAXQFYjX72E=
github.com/darkweak/storages/otter v0.0.7 h1:cC4x884r3vv3dbupM98uOE2iYnnABgqbhYozszPiZ+A=
github.com/darkweak/storages/otter v0.0.7/go.mod h1:damYel7IKsDex0Z4ySBYjxk+MJ2yk6OO6whIQ0qbsHU=
github.com/darkweak/storages/redis v0.0.7 h1:a0+pQEZNRi0N0wtCyvwkJpZFPdi0QGUv5f6ig3R/+70=
github.com/darkweak/storages/redis v0.0.7/go.mod h1:PpjXSWQ1On5si7kXNHeHlH1r2RtPXKR3uhzuKlnxj1k=
github.com/darkweak/storages/badger v0.0.8 h1:rKVXrasVA74xgiqGRgW0kH11NUIlWwn9HiFyHUok85k=
github.com/darkweak/storages/badger v0.0.8/go.mod h1:ZmrNmKkFzyu/B3+1nsvVeTvyg2I2mOV5yTpT46mZ06o=
github.com/darkweak/storages/core v0.0.8 h1:9e7rOxHiJwnvADDVCZ7LFRnUnOHGT+UMpNOFlR8BOiw=
github.com/darkweak/storages/core v0.0.8/go.mod h1:ajTpB9IFLRIRY0EEFLjM5vtsrcNTh+TJK9yRxgG5/wY=
github.com/darkweak/storages/etcd v0.0.8 h1:Guzv6zgxkQJLjak36KsbtQqkmwMRJoZZI0B7ztZKIik=
github.com/darkweak/storages/etcd v0.0.8/go.mod h1:Yw9xJramKAzIRoC7tizVMYPSwUBHqxY5BPTh8OgyISY=
github.com/darkweak/storages/nats v0.0.8 h1:HRS3i2zzzIq1Qb3yoOUWD6MoRQgGV1NbECF1ex4wZjg=
github.com/darkweak/storages/nats v0.0.8/go.mod h1:ap1RYc9aQHYylUDVKh2G2KF2GTzxoB+oFk3tZ9lxJLE=
github.com/darkweak/storages/nuts v0.0.8 h1:obxlGOyvOGZw6TGTAMVrYqbH46z5kuHaF2zjbumTNUk=
github.com/darkweak/storages/nuts v0.0.8/go.mod h1:1vGrcWTRLMXamfubwyEfVf/AJA4L7DjYzezBko5ODPM=
github.com/darkweak/storages/olric v0.0.8 h1:QSRIBb8IyBlt/wxh5DkGiSsaeE6SiRtJZeJy3dNf4nU=
github.com/darkweak/storages/olric v0.0.8/go.mod h1:Qk7FK28K/ogIdneaZzoSLmTGfNlCxvvN7yhkEqjh/TE=
github.com/darkweak/storages/otter v0.0.8 h1:Tsv4NiLAiZyvovs4oCWT+WQUYe5YvbFvEx25W2NFfHg=
github.com/darkweak/storages/otter v0.0.8/go.mod h1:BBYxyWClX3PFdbvns6W95kLNNihq1FxljBYGIzP4snI=
github.com/darkweak/storages/redis v0.0.8 h1:0CHLkImyaI/sYs+IOurYLAxFkrmz5dFblhfpF7oGhQc=
github.com/darkweak/storages/redis v0.0.8/go.mod h1:pypJ5T3hweQWfHzFUjmZWeb1KaNK3ikNg1+rn0G+rD0=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
Expand Down
Loading

0 comments on commit bf786a2

Please sign in to comment.