Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ go 1.25
require (
github.com/caddyserver/caddy/v2 v2.10.0
github.com/cespare/xxhash/v2 v2.3.0
github.com/darkweak/storages/core v0.0.15
github.com/darkweak/storages/core v0.0.17
github.com/google/uuid v1.6.0
github.com/pierrec/lz4/v4 v4.1.22
github.com/pierrec/lz4/v4 v4.1.23
github.com/pquerna/cachecontrol v0.2.0
github.com/prometheus/client_golang v1.22.0
github.com/prometheus/client_model v0.6.2
Expand Down
8 changes: 4 additions & 4 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,8 @@ github.com/cpuguy83/go-md2man/v2 v2.0.6/go.mod h1:oOW0eioCTA6cOiMLiUPZOpcVxMig6N
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.15 h1:LnCvkWiP2ngQ2s5br/Qnw/jhAP/vlmsZOWbU1fJTUno=
github.com/darkweak/storages/core v0.0.15/go.mod h1:3qJqrenCLpu+0bWPOAq36CmGpzL3SGWAz6KGZGnur1U=
github.com/darkweak/storages/core v0.0.17 h1:ectt73SW7+FNid+jJiO0FOIr2eGvlHpaz5YSdWvvNCk=
github.com/darkweak/storages/core v0.0.17/go.mod h1:h36sNSwQ36fdHFMUIqD3j403kv29R4FVJJDaLbyvofM=
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 Expand Up @@ -356,8 +356,8 @@ github.com/pbnjay/memory v0.0.0-20210728143218-7b4eea64cf58/go.mod h1:DXv8WO4yhM
github.com/pelletier/go-toml v1.2.0/go.mod h1:5z9KED0ma1S8pY6P1sdut58dfprrGBbd/94hg7ilaic=
github.com/peterbourgon/diskv/v3 v3.0.1 h1:x06SQA46+PKIUftmEujdwSEpIx8kR+M9eLYsUxeYveU=
github.com/peterbourgon/diskv/v3 v3.0.1/go.mod h1:kJ5Ny7vLdARGU3WUuy6uzO6T0nb/2gWcT1JiBvRmb5o=
github.com/pierrec/lz4/v4 v4.1.22 h1:cKFw6uJDK+/gfw5BcDL0JL5aBsAFdsIT18eRtLj7VIU=
github.com/pierrec/lz4/v4 v4.1.22/go.mod h1:gZWDp/Ze/IJXGXf23ltt2EXimqmTUXEy0GFuRQyBid4=
github.com/pierrec/lz4/v4 v4.1.23 h1:oJE7T90aYBGtFNrI8+KbETnPymobAhzRrR8Mu8n1yfU=
github.com/pierrec/lz4/v4 v4.1.23/go.mod h1:EoQMVJgeeEOMsCqCzqFm2O0cJvljX2nGZjcRIPL34O4=
github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4=
github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
Expand Down
22 changes: 22 additions & 0 deletions pkg/middleware/context.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
package middleware

import (
"context"
"time"
)

type contextSWR struct {
ctx context.Context
}

func newContextSWR(ctx context.Context) context.Context {
return &contextSWR{ctx: ctx}
}

func (*contextSWR) Deadline() (time.Time, bool) { return time.Time{}, false }
func (*contextSWR) Done() <-chan struct{} { return nil }
func (*contextSWR) Err() error { return nil }

func (l *contextSWR) Value(key interface{}) interface{} {
return l.ctx.Value(key)
}
37 changes: 36 additions & 1 deletion pkg/middleware/middleware.go
Original file line number Diff line number Diff line change
Expand Up @@ -1068,7 +1068,42 @@ func (s *SouinBaseHandler) ServeHTTP(rw http.ResponseWriter, rq *http.Request, n
_, _ = time.ParseDuration(response.Header.Get(rfc.StoredTTLHeader))
rfc.SetCacheStatusHeader(response, storerName)

responseCc, _ := cacheobject.ParseResponseCacheControl(rfc.HeaderAllCommaSepValuesString(response.Header, "Cache-Control"))
datetime, _ := http.ParseTime(response.Header.Get("Date"))
if responseCc.StaleWhileRevalidate > 0 && datetime.Add(addTime).Add(time.Duration(responseCc.StaleWhileRevalidate)*time.Second).After(start) {
for h, v := range response.Header {
customWriter.Header()[h] = v
}
customWriter.WriteHeader(response.StatusCode)
rfc.HitStaleCache(&response.Header)
_, _ = customWriter.copyToBuffer(response.Body)
_, err := customWriter.Send()

buf := s.bufPool.Get().(*bytes.Buffer)
buf.Reset()
defer s.bufPool.Put(buf)

closer := io.NopCloser(bytes.NewBuffer([]byte{}))
defer func() {
_ = closer.Close()
}()

clonedReq := req.Clone(newContextSWR(req.Context()))
customWriter = NewCustomWriter(
clonedReq,
newSWRRW(closer),
buf,
int(s.Configuration.GetDefaultCache().GetMaxBodyBytes()),
func(h http.Header) {
s.StoreEarlyHint(cachedKey, h, earlyHintIteration)
earlyHintIteration++
})

go func(v *core.Revalidator, goCw *CustomWriter, goRq *http.Request, goNext func(http.ResponseWriter, *http.Request) error, goCc *cacheobject.RequestCacheDirectives, goCk string, goUri string) {
_ = s.Revalidate(v, goNext, goCw, goRq, goCc, goCk, goUri)
}(validator, customWriter, clonedReq, next, requestCc, cachedKey, uri)

return err
}

if responseCc.StaleIfError > -1 || requestCc.StaleIfError > 0 {
err := s.Revalidate(validator, next, customWriter, req, requestCc, cachedKey, uri)
Expand Down
35 changes: 30 additions & 5 deletions pkg/middleware/writer.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,18 +101,17 @@ func (r *CustomWriter) GetStatusCode() int {

// WriteHeader will write the response headers
func (r *CustomWriter) WriteHeader(code int) {
if r.headersSent {
return
}

defer func(h http.Header) {
r.mutex.Unlock()

if code == http.StatusEarlyHints {
r.earlyHintStore(h)
}
}(r.Header())

if r.headersSent {
return
}

r.mutex.Lock()

r.statusCode = code
Expand Down Expand Up @@ -303,3 +302,29 @@ Content-Range: bytes %d-%d/%d

return r.Rw.Write(result)
}

func newSWRRW(closer io.ReadCloser) http.ResponseWriter {
return &swrResponseWriter{
body: closer,
headers: http.Header{},
statusCode: 0,
}
}

type swrResponseWriter struct {
body io.ReadCloser
headers http.Header
statusCode int
}

func (r swrResponseWriter) Header() http.Header {
return r.headers
}

func (r swrResponseWriter) WriteHeader(code int) {
r.statusCode = code
}

func (r swrResponseWriter) Write(b []byte) (int, error) {
return r.body.Read(b)
}
8 changes: 7 additions & 1 deletion pkg/rfc/age.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ func ValidateMaxAgeCachedStaleResponse(co *cacheobject.RequestCacheDirectives, r
return res
}

if resCo != nil && (resCo.StaleIfError > -1 || co.StaleIfError > 0) {
if resCo != nil && (resCo.StaleIfError > -1 || co.StaleIfError > 0 || resCo.StaleWhileRevalidate > 0) {
if resCo.StaleIfError > -1 {
if response := validateMaxAgeCachedResponse(res, int(resCo.StaleIfError), addTime); response != nil {
return response
Expand All @@ -48,6 +48,12 @@ func ValidateMaxAgeCachedStaleResponse(co *cacheobject.RequestCacheDirectives, r
return response
}
}

if resCo.StaleWhileRevalidate > 0 {
if response := validateMaxAgeCachedResponse(res, int(resCo.StaleWhileRevalidate), addTime); response != nil {
return response
}
}
}

if co.MaxStale < 0 {
Expand Down
22 changes: 11 additions & 11 deletions plugins/beego/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -46,18 +46,18 @@ require (
github.com/coreos/go-systemd/v22 v22.6.0 // indirect
github.com/cpuguy83/go-md2man/v2 v2.0.7 // indirect
github.com/darkweak/go-esi v0.0.6 // indirect
github.com/darkweak/storages/badger v0.0.16 // indirect
github.com/darkweak/storages/core v0.0.16 // indirect
github.com/darkweak/storages/etcd v0.0.16 // indirect
github.com/darkweak/storages/nats v0.0.16 // indirect
github.com/darkweak/storages/nuts v0.0.16 // indirect
github.com/darkweak/storages/olric v0.0.16 // indirect
github.com/darkweak/storages/otter v0.0.16 // indirect
github.com/darkweak/storages/redis v0.0.16 // indirect
github.com/darkweak/storages/simplefs v0.0.16 // indirect
github.com/darkweak/storages/badger v0.0.17 // indirect
github.com/darkweak/storages/core v0.0.17 // indirect
github.com/darkweak/storages/etcd v0.0.17 // indirect
github.com/darkweak/storages/nats v0.0.17 // indirect
github.com/darkweak/storages/nuts v0.0.17 // indirect
github.com/darkweak/storages/olric v0.0.17 // indirect
github.com/darkweak/storages/otter v0.0.17 // indirect
github.com/darkweak/storages/redis v0.0.17 // indirect
github.com/darkweak/storages/simplefs v0.0.17 // 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/v4 v4.8.0 // indirect
github.com/dgraph-io/badger/v4 v4.9.0 // indirect
github.com/dgraph-io/ristretto v0.2.0 // indirect
github.com/dgraph-io/ristretto/v2 v2.3.0 // indirect
github.com/dgryski/go-farm v0.0.0-20240924180020-3414d57e47da // indirect
Expand Down Expand Up @@ -124,7 +124,7 @@ require (
github.com/nutsdb/nutsdb v1.0.4 // indirect
github.com/onsi/gomega v1.38.2 // indirect
github.com/pbnjay/memory v0.0.0-20210728143218-7b4eea64cf58 // indirect
github.com/pierrec/lz4/v4 v4.1.22 // indirect
github.com/pierrec/lz4/v4 v4.1.23 // indirect
github.com/pkg/errors v0.9.1 // indirect
github.com/pquerna/cachecontrol v0.2.0 // indirect
github.com/prometheus/client_golang v1.23.1 // indirect
Expand Down
44 changes: 22 additions & 22 deletions plugins/beego/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -158,33 +158,33 @@ github.com/cpuguy83/go-md2man/v2 v2.0.7 h1:zbFlGlXEAKlwXpmvle3d8Oe3YnkKIK4xSRTd3
github.com/cpuguy83/go-md2man/v2 v2.0.7/go.mod h1:oOW0eioCTA6cOiMLiUPZOpcVxMig6NIQQ7OS05n1F4g=
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.16 h1:5NNHescfvT0YqqgeCvRB9cFtCeCvEetPliCYOI+aGqo=
github.com/darkweak/storages/badger v0.0.16/go.mod h1:hpKJ7pGI27elfu1IJ1OnsBpsyYx627oeebtL+DbN0mI=
github.com/darkweak/storages/core v0.0.16 h1:f7+XY8MJaKiukcOC5v48pTSpD0zpzEu4FnfgOAPbyF0=
github.com/darkweak/storages/core v0.0.16/go.mod h1:3qJqrenCLpu+0bWPOAq36CmGpzL3SGWAz6KGZGnur1U=
github.com/darkweak/storages/etcd v0.0.16 h1:l9p4+tinfc6AUITHld3g5lzBbLokfIudowEIPK2E1+U=
github.com/darkweak/storages/etcd v0.0.16/go.mod h1:UnkdHq06kZS9QeQ9ItNIN9Bl7YZZVdVclX+kcvAd+k8=
github.com/darkweak/storages/nats v0.0.16 h1:9KaHq9q+tK4Tm1JjAaj6YFGy8/9u5AJK9O9tFx+NvYI=
github.com/darkweak/storages/nats v0.0.16/go.mod h1:yWkupn1y7R4wPzLgqgXc65c50X+7q94QQ9PCxwLqIWA=
github.com/darkweak/storages/nuts v0.0.16 h1:EJ6b8YbXjK7PsdE6mMRKKs6qj3G+5dW4PfmzCNXrdsA=
github.com/darkweak/storages/nuts v0.0.16/go.mod h1:MPNNFqFAuiFLDsPcsxXSG5h5dRea1Wd6cXAzHXnFD1Q=
github.com/darkweak/storages/olric v0.0.16 h1:gv7S+eWAmjnYbhMVEmltEHG6Kzacil7nTXpKfXT47F4=
github.com/darkweak/storages/olric v0.0.16/go.mod h1:PyZuWYNVN0y4lFNN1ZqEWxOW59nzQfXU6aiJnQegxcM=
github.com/darkweak/storages/otter v0.0.16 h1:SFPlKIapzcrfSp16C3/K6fzIqRblqDWE/xyse9VhJFE=
github.com/darkweak/storages/otter v0.0.16/go.mod h1:FSqYWBBSoojOZEH4hr19TmBnBxyH+ZQ4V8tGp4xVBGw=
github.com/darkweak/storages/redis v0.0.16 h1:dlDUpco8V6DnOwqS5oYFIi4aLBtto9u0ZyJqbpyy22U=
github.com/darkweak/storages/redis v0.0.16/go.mod h1:kBchmscY7C7URnruedPgb3jcijV1COzszfOe/KVTk5g=
github.com/darkweak/storages/simplefs v0.0.16 h1:9duSjUTKjZWUv2Spk5+3MueENwxElEWlp0Tij2CihEY=
github.com/darkweak/storages/simplefs v0.0.16/go.mod h1:TMjB3kGbYHZPZoRGTCW+Wph9taF2/ym0cUfP0jYU47s=
github.com/darkweak/storages/badger v0.0.17 h1:IUFY3r/EZIM7bd73mqhLM91Edl+KPY5gqZNQjy5MyXM=
github.com/darkweak/storages/badger v0.0.17/go.mod h1:6f31PI5EBjKFGKv+R/Ilqi+D+DH90ITyHR27BaATqLE=
github.com/darkweak/storages/core v0.0.17 h1:ectt73SW7+FNid+jJiO0FOIr2eGvlHpaz5YSdWvvNCk=
github.com/darkweak/storages/core v0.0.17/go.mod h1:h36sNSwQ36fdHFMUIqD3j403kv29R4FVJJDaLbyvofM=
github.com/darkweak/storages/etcd v0.0.17 h1:/Oa/36TY7F18uDIAB45AgClg5GNyGEBLNyZgp4ADbtE=
github.com/darkweak/storages/etcd v0.0.17/go.mod h1:CEOkJRFdnOkOnh9f72IY7Me5jX+y1rf5z4TPjo4SkMk=
github.com/darkweak/storages/nats v0.0.17 h1:1uk4uGX1amgmR3hxMr01J+4fLK55UW80WVB7DwtOJ8k=
github.com/darkweak/storages/nats v0.0.17/go.mod h1:n9VEmX4yKoOOc/ETrR5kz7HJa6ekKQ9V6onkTP+TVFE=
github.com/darkweak/storages/nuts v0.0.17 h1:s4yX+1urelC2yDiKuBs+I8Xkq62nlmi5C8sQjD9pgvs=
github.com/darkweak/storages/nuts v0.0.17/go.mod h1:n5WsZQSH1aSMdaScTK6MmC1HplI9pYMLTEEytLk929s=
github.com/darkweak/storages/olric v0.0.17 h1:LZyBH0qCzU2zIP0vBBQRpY/EcqOoytRfjnqlSISAujo=
github.com/darkweak/storages/olric v0.0.17/go.mod h1:QtPwpbgg1NGpugKhxByYMJ1x9bG5E/gN8CgqsyyF7jw=
github.com/darkweak/storages/otter v0.0.17 h1:IFiUqT8PJx/HAsPcgrpMzLY0GzKeMMLKGojclgo1Gu0=
github.com/darkweak/storages/otter v0.0.17/go.mod h1:ZNxWMAsm8i3ZVElLNqa1Bq8VDGZsf4TIMti9XmX8eOY=
github.com/darkweak/storages/redis v0.0.17 h1:/jyT410RgI+kwCWs9gKLIYLd6/COtgGA/ClbXP6lqEs=
github.com/darkweak/storages/redis v0.0.17/go.mod h1:ALnQ/dskXjBm9JU0aR9IEbMXYh6CWk+YU5ERoQ6YjQY=
github.com/darkweak/storages/simplefs v0.0.17 h1:H4oaf3I7EDtoJkqJOpbRKNnQrabOA0wLTRVulOP8n+I=
github.com/darkweak/storages/simplefs v0.0.17/go.mod h1:onZbzUSif/Cm3XDBaIiH64oMMc6xKkCdLEj2zK7xixU=
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=
github.com/dgraph-io/badger v1.6.2 h1:mNw0qs90GVgGGWylh0umH5iag1j6n/PeJtNvL6KY/x8=
github.com/dgraph-io/badger v1.6.2/go.mod h1:JW2yswe3V058sS0kZ2h/AXeDSqFjxnZcRrVH//y2UQE=
github.com/dgraph-io/badger/v2 v2.2007.4 h1:TRWBQg8UrlUhaFdco01nO2uXwzKS7zd+HVdwV/GHc4o=
github.com/dgraph-io/badger/v2 v2.2007.4/go.mod h1:vSw/ax2qojzbN6eXHIx6KPKtCSHJN/Uz0X0VPruTIhk=
github.com/dgraph-io/badger/v4 v4.8.0 h1:JYph1ChBijCw8SLeybvPINizbDKWZ5n/GYbz2yhN/bs=
github.com/dgraph-io/badger/v4 v4.8.0/go.mod h1:U6on6e8k/RTbUWxqKR0MvugJuVmkxSNc79ap4917h4w=
github.com/dgraph-io/badger/v4 v4.9.0 h1:tpqWb0NewSrCYqTvywbcXOhQdWcqephkVkbBmaaqHzc=
github.com/dgraph-io/badger/v4 v4.9.0/go.mod h1:5/MEx97uzdPUHR4KtkNt8asfI2T4JiEiQlV7kWUo8c0=
github.com/dgraph-io/ristretto v0.0.2/go.mod h1:KPxhHT9ZxKefz+PCeOGsrHpl1qZ7i70dGTu2u+Ahh6E=
github.com/dgraph-io/ristretto v0.0.3-0.20200630154024-f66de99634de/go.mod h1:KPxhHT9ZxKefz+PCeOGsrHpl1qZ7i70dGTu2u+Ahh6E=
github.com/dgraph-io/ristretto v0.2.0 h1:XAfl+7cmoUDWW/2Lx8TGZQjjxIQ2Ley9DSf52dru4WE=
Expand Down Expand Up @@ -476,8 +476,8 @@ github.com/pbnjay/memory v0.0.0-20210728143218-7b4eea64cf58/go.mod h1:DXv8WO4yhM
github.com/pelletier/go-toml v1.2.0/go.mod h1:5z9KED0ma1S8pY6P1sdut58dfprrGBbd/94hg7ilaic=
github.com/peterbourgon/diskv/v3 v3.0.1 h1:x06SQA46+PKIUftmEujdwSEpIx8kR+M9eLYsUxeYveU=
github.com/peterbourgon/diskv/v3 v3.0.1/go.mod h1:kJ5Ny7vLdARGU3WUuy6uzO6T0nb/2gWcT1JiBvRmb5o=
github.com/pierrec/lz4/v4 v4.1.22 h1:cKFw6uJDK+/gfw5BcDL0JL5aBsAFdsIT18eRtLj7VIU=
github.com/pierrec/lz4/v4 v4.1.22/go.mod h1:gZWDp/Ze/IJXGXf23ltt2EXimqmTUXEy0GFuRQyBid4=
github.com/pierrec/lz4/v4 v4.1.23 h1:oJE7T90aYBGtFNrI8+KbETnPymobAhzRrR8Mu8n1yfU=
github.com/pierrec/lz4/v4 v4.1.23/go.mod h1:EoQMVJgeeEOMsCqCzqFm2O0cJvljX2nGZjcRIPL34O4=
github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4=
Expand Down
4 changes: 2 additions & 2 deletions plugins/caddy/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ go 1.25
require (
github.com/caddyserver/caddy/v2 v2.10.2
github.com/darkweak/souin v1.7.8
github.com/darkweak/storages/core v0.0.16
github.com/darkweak/storages/core v0.0.17
)

require (
Expand Down Expand Up @@ -84,7 +84,7 @@ require (
github.com/mitchellh/reflectwalk v1.0.2 // indirect
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
github.com/pbnjay/memory v0.0.0-20210728143218-7b4eea64cf58 // indirect
github.com/pierrec/lz4/v4 v4.1.22 // indirect
github.com/pierrec/lz4/v4 v4.1.23 // indirect
github.com/pires/go-proxyproto v0.8.1 // indirect
github.com/pkg/errors v0.9.1 // indirect
github.com/pquerna/cachecontrol v0.2.0 // indirect
Expand Down
8 changes: 4 additions & 4 deletions plugins/caddy/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,8 @@ github.com/cpuguy83/go-md2man/v2 v2.0.7 h1:zbFlGlXEAKlwXpmvle3d8Oe3YnkKIK4xSRTd3
github.com/cpuguy83/go-md2man/v2 v2.0.7/go.mod h1:oOW0eioCTA6cOiMLiUPZOpcVxMig6NIQQ7OS05n1F4g=
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/core v0.0.16 h1:f7+XY8MJaKiukcOC5v48pTSpD0zpzEu4FnfgOAPbyF0=
github.com/darkweak/storages/core v0.0.16/go.mod h1:3qJqrenCLpu+0bWPOAq36CmGpzL3SGWAz6KGZGnur1U=
github.com/darkweak/storages/core v0.0.17 h1:ectt73SW7+FNid+jJiO0FOIr2eGvlHpaz5YSdWvvNCk=
github.com/darkweak/storages/core v0.0.17/go.mod h1:h36sNSwQ36fdHFMUIqD3j403kv29R4FVJJDaLbyvofM=
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 Expand Up @@ -307,8 +307,8 @@ github.com/pbnjay/memory v0.0.0-20210728143218-7b4eea64cf58/go.mod h1:DXv8WO4yhM
github.com/pelletier/go-toml v1.2.0/go.mod h1:5z9KED0ma1S8pY6P1sdut58dfprrGBbd/94hg7ilaic=
github.com/peterbourgon/diskv/v3 v3.0.1 h1:x06SQA46+PKIUftmEujdwSEpIx8kR+M9eLYsUxeYveU=
github.com/peterbourgon/diskv/v3 v3.0.1/go.mod h1:kJ5Ny7vLdARGU3WUuy6uzO6T0nb/2gWcT1JiBvRmb5o=
github.com/pierrec/lz4/v4 v4.1.22 h1:cKFw6uJDK+/gfw5BcDL0JL5aBsAFdsIT18eRtLj7VIU=
github.com/pierrec/lz4/v4 v4.1.22/go.mod h1:gZWDp/Ze/IJXGXf23ltt2EXimqmTUXEy0GFuRQyBid4=
github.com/pierrec/lz4/v4 v4.1.23 h1:oJE7T90aYBGtFNrI8+KbETnPymobAhzRrR8Mu8n1yfU=
github.com/pierrec/lz4/v4 v4.1.23/go.mod h1:EoQMVJgeeEOMsCqCzqFm2O0cJvljX2nGZjcRIPL34O4=
github.com/pires/go-proxyproto v0.8.1 h1:9KEixbdJfhrbtjpz/ZwCdWDD2Xem0NZ38qMYaASJgp0=
github.com/pires/go-proxyproto v0.8.1/go.mod h1:ZKAAyp3cgy5Y5Mo4n9AlScrkCZwUy0g3Jf+slqQVcuU=
github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
Expand Down
Loading
Loading