redisstorage
redisstorage copied to clipboard
Redis based storage backend for Colly
- [x] Add bloom filter support base on the redis backend - [ ] Add Bloom filter Optimal hash array length and Optimal hash count - [ ] Add cuckoo...
Should solve the following open issues. https://github.com/gocolly/redisstorage/issues/3 https://github.com/gocolly/redisstorage/issues/4
Colly v2
I tried with simple example using colly V2, but I get the following error: `cannot use storage (variable of type *redisstorage.Storage) as storage.Storage value in argument to c.SetStorage: wrong type...
Cannot use 'rdb.Redis' (type *"github.com/go-redis/redis/v8".Client) as type *"github.com/go-redis/redis".Client
`# github.com/gocolly/redisstorage ..\github.com\gocolly\redisstorage\redisstorage.go:43:25: not enough arguments in call to s.Client.cmdable.Ping have () want (context.Context) ..\github.com\gocolly\redisstorage\redisstorage.go:54:20: not enough arguments in call to s.Client.cmdable.Keys have (string) want (context.Context, string) ..\github.com\gocolly\redisstorage\redisstorage.go:59:21: not enough...