83df0ee1b0
1. Added KeyValueStore.Iterate for implementing the different List, ListV2 etc. implementations. This allows for more efficient use of memory depending on the situation. 2. Implemented an inmemory teststore for running tests. This should allow to replace MockKeyValueStore in most places. 3. Rewrote tests 4. Pulled out logger from bolt implementation so it can be used for all other storage implementations. 5. Fixed multiple things in bolt and redis implementations.
172 lines
9.6 KiB
Modula-2
172 lines
9.6 KiB
Modula-2
module storj.io/storj
|
|
|
|
require (
|
|
9fans.net/go v0.0.0-20180727211846-5d4fa602e1e8 // indirect
|
|
cloud.google.com/go v0.26.0 // indirect
|
|
contrib.go.opencensus.io/exporter/stackdriver v0.6.0 // indirect
|
|
github.com/Azure/azure-sdk-for-go v19.1.0+incompatible // indirect
|
|
github.com/Azure/go-autorest v10.15.2+incompatible // indirect
|
|
github.com/alecthomas/gometalinter v2.0.6+incompatible // indirect
|
|
github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf // indirect
|
|
github.com/alicebob/gopher-json v0.0.0-20180125190556-5a6b3ba71ee6 // indirect
|
|
github.com/alicebob/miniredis v0.0.0-20180830063239-35be932987bc
|
|
github.com/aliyun/aliyun-oss-go-sdk v0.0.0-20180615125516-36bf7aa2f916 // indirect
|
|
github.com/anacrolix/missinggo v0.0.0-20180525074307-ca16e9f398a9
|
|
github.com/anacrolix/sync v0.0.0-20180525101250-3870fa5b90c5
|
|
github.com/anacrolix/utp v0.0.0-20180219060659-9e0e1d1d0572
|
|
github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973 // indirect
|
|
github.com/boltdb/bolt v1.3.1
|
|
github.com/ccding/go-stun v0.0.0-20171206150302-d9bbe8f8fa7b
|
|
github.com/cheggaaa/pb v1.0.5-0.20160713104425-73ae1d68fe0b // indirect
|
|
github.com/cloudfoundry/gosigar v1.1.0
|
|
github.com/coredns/coredns v1.2.0 // indirect
|
|
github.com/coreos/etcd v3.3.9+incompatible // indirect
|
|
github.com/coyle/kademlia v0.0.0-20180618235119-de4313d761cd
|
|
github.com/davecgh/go-spew v1.1.1 // indirect
|
|
github.com/dgrijalva/jwt-go v3.2.0+incompatible // indirect
|
|
github.com/djherbis/atime v1.0.0 // indirect
|
|
github.com/eapache/go-resiliency v1.1.0 // indirect
|
|
github.com/eapache/go-xerial-snappy v0.0.0-20180814174437-776d5712da21 // indirect
|
|
github.com/eapache/queue v1.1.0 // indirect
|
|
github.com/eclipse/paho.mqtt.golang v1.1.1 // indirect
|
|
github.com/elazarl/go-bindata-assetfs v1.0.0 // indirect
|
|
github.com/fatih/color v1.7.0 // indirect
|
|
github.com/fatih/gomodifytags v0.0.0-20180826164257-7987f52a7108 // indirect
|
|
github.com/fatih/structs v1.0.0
|
|
github.com/fsnotify/fsnotify v1.4.7
|
|
github.com/garyburd/redigo v1.0.1-0.20170216214944-0d253a66e6e1 // indirect
|
|
github.com/go-ini/ini v1.38.1 // indirect
|
|
github.com/go-redis/redis v0.0.0-20180417061816-9ccc23344a52
|
|
github.com/go-sql-driver/mysql v1.4.0 // indirect
|
|
github.com/gogo/protobuf v1.0.0
|
|
github.com/golang/mock v1.1.1
|
|
github.com/golang/protobuf v1.1.0
|
|
github.com/gomodule/redigo v2.0.0+incompatible // indirect
|
|
github.com/google/go-cmp v0.2.0
|
|
github.com/google/shlex v0.0.0-20150127133951-6f45313302b9 // indirect
|
|
github.com/googleapis/gax-go v2.0.0+incompatible // indirect
|
|
github.com/gorilla/handlers v1.4.0 // indirect
|
|
github.com/gorilla/mux v1.6.2 // indirect
|
|
github.com/gorilla/rpc v1.1.0 // indirect
|
|
github.com/gtank/cryptopasta v0.0.0-20170601214702-1f550f6f2f69
|
|
github.com/hashicorp/errwrap v0.0.0-20180715044906-d6c0cd880357 // indirect
|
|
github.com/hashicorp/go-cleanhttp v0.0.0-20171218145408-d5fe4b57a186 // indirect
|
|
github.com/hashicorp/go-multierror v0.0.0-20180717150148-3d5d8f294aa0 // indirect
|
|
github.com/hashicorp/go-retryablehttp v0.0.0-20180718195005-e651d75abec6 // indirect
|
|
github.com/hashicorp/go-rootcerts v0.0.0-20160503143440-6bb64b370b90 // indirect
|
|
github.com/hashicorp/go-sockaddr v0.0.0-20180320115054-6d291a969b86 // indirect
|
|
github.com/hashicorp/go-version v0.0.0-20180716215031-270f2f71b1ee // indirect
|
|
github.com/hashicorp/hcl v0.0.0-20180404174102-ef8a98b0bbce
|
|
github.com/hashicorp/vault v0.10.4 // indirect
|
|
github.com/howeyc/gopass v0.0.0-20170109162249-bf9dde6d0d2c // indirect
|
|
github.com/inconshreveable/go-update v0.0.0-20160112193335-8152e7eb6ccf // indirect
|
|
github.com/inconshreveable/mousetrap v1.0.0 // indirect
|
|
github.com/jbenet/go-base58 v0.0.0-20150317085156-6237cf65f3a6
|
|
github.com/joyent/triton-go v0.0.0-20180628001255-830d2b111e62 // indirect
|
|
github.com/jtolds/monkit-hw v0.0.0-20180827162413-5a254051f35d
|
|
github.com/klauspost/compress v1.4.0 // indirect
|
|
github.com/klauspost/cpuid v0.0.0-20180405133222-e7e905edc00e // indirect
|
|
github.com/klauspost/crc32 v0.0.0-20170628072449-bab58d77464a // indirect
|
|
github.com/klauspost/pgzip v1.0.1 // indirect
|
|
github.com/klauspost/reedsolomon v0.0.0-20180704173009-925cb01d6510 // indirect
|
|
github.com/kurin/blazer v0.5.1 // indirect
|
|
github.com/lib/pq v0.0.0-20180523175426-90697d60dd84 // indirect
|
|
github.com/magiconair/properties v1.7.6
|
|
github.com/mailru/easyjson v0.0.0-20180730094502-03f2033d19d5 // indirect
|
|
github.com/marstr/guid v1.1.0 // indirect
|
|
github.com/mattn/go-colorable v0.0.9 // indirect
|
|
github.com/mattn/go-isatty v0.0.3 // indirect
|
|
github.com/mattn/go-sqlite3 v1.7.0
|
|
github.com/matttproud/golang_protobuf_extensions v1.0.1 // indirect
|
|
github.com/miekg/dns v1.0.8 // indirect
|
|
github.com/minio/blazer v0.2.0 // indirect
|
|
github.com/minio/cli v1.3.0
|
|
github.com/minio/dsync v0.0.0-20180124070302-439a0961af70 // indirect
|
|
github.com/minio/highwayhash v0.0.0-20180501080913-85fc8a2dacad // indirect
|
|
github.com/minio/lsync v0.0.0-20180328070428-f332c3883f63 // indirect
|
|
github.com/minio/mc v0.0.0-20180820172331-a1110bc0223c // indirect
|
|
github.com/minio/minio v0.0.0-20180508161510-54cd29b51c38
|
|
github.com/minio/minio-go v6.0.3-0.20180613230128-10531abd0af1+incompatible // indirect
|
|
github.com/minio/sha256-simd v0.0.0-20171213220625-ad98a36ba0da // indirect
|
|
github.com/minio/sio v0.0.0-20180327104954-6a41828a60f0 // indirect
|
|
github.com/mitchellh/go-homedir v0.0.0-20180801233206-58046073cbff // indirect
|
|
github.com/mitchellh/mapstructure v0.0.0-20180220230111-00c29f56e238
|
|
github.com/mr-tron/base58 v0.0.0-20171218005042-c1bdf7c52f59
|
|
github.com/nats-io/go-nats v1.5.0 // indirect
|
|
github.com/nats-io/go-nats-streaming v0.4.0 // indirect
|
|
github.com/nats-io/nats v1.5.0 // indirect
|
|
github.com/nats-io/nuid v1.0.0 // indirect
|
|
github.com/nicksnyder/go-i18n v1.10.0 // indirect
|
|
github.com/nsf/gocode v0.0.0-20180827180829-9f3c24f3a0fe // indirect
|
|
github.com/pelletier/go-toml v1.1.0
|
|
github.com/pierrec/lz4 v2.0.3+incompatible // indirect
|
|
github.com/pkg/profile v1.2.1 // indirect
|
|
github.com/pmezard/go-difflib v1.0.0 // indirect
|
|
github.com/prometheus/client_golang v0.9.0-pre1.0.20180416233856-82f5ff156b29 // indirect
|
|
github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910 // indirect
|
|
github.com/prometheus/common v0.0.0-20180801064454-c7de2306084e // indirect
|
|
github.com/prometheus/procfs v0.0.0-20180725123919-05ee40e3a273 // indirect
|
|
github.com/rcrowley/go-metrics v0.0.0-20180503174638-e2704e165165 // indirect
|
|
github.com/rjeczalik/notify v0.9.0 // indirect
|
|
github.com/rogpeppe/godef v0.0.0-20170920080713-b692db1de522 // indirect
|
|
github.com/rs/cors v1.5.0 // indirect
|
|
github.com/ryanuber/go-glob v0.0.0-20170128012129-256dc444b735 // indirect
|
|
github.com/satori/go.uuid v1.2.0 // indirect
|
|
github.com/segmentio/go-prompt v1.2.1-0.20161017233205-f0d19b6901ad // indirect
|
|
github.com/skyrings/skyring-common v0.0.0-20160929130248-d1c0bb1cbd5e // indirect
|
|
github.com/spacemonkeygo/errors v0.0.0-20171212215202-9064522e9fd1
|
|
github.com/spacemonkeygo/flagfile v0.0.0-20180426194429-0d750334dbb8
|
|
github.com/spacemonkeygo/monotime v0.0.0-20180824235756-e3f48a95f98a
|
|
github.com/spacemonkeygo/spacelog v0.0.0-20180420211403-2296661a0572
|
|
github.com/spf13/afero v1.1.0
|
|
github.com/spf13/cast v1.2.0
|
|
github.com/spf13/cobra v0.0.3
|
|
github.com/spf13/jwalterweatherman v0.0.0-20180109140146-7c0cea34c8ec
|
|
github.com/spf13/pflag v1.0.1
|
|
github.com/spf13/viper v1.0.2
|
|
github.com/sqs/goreturns v0.0.0-20180302073349-83e02874ec12 // indirect
|
|
github.com/streadway/amqp v0.0.0-20180806233856-70e15c650864 // indirect
|
|
github.com/stretchr/objx v0.1.1 // indirect
|
|
github.com/stretchr/testify v1.2.1
|
|
github.com/tidwall/gjson v1.1.3 // indirect
|
|
github.com/tidwall/match v0.0.0-20171002075945-1731857f09b1 // indirect
|
|
github.com/tpng/gopkgs v0.0.0-20180428091733-81e90e22e204 // indirect
|
|
github.com/tyler-smith/go-bip39 v0.0.0-20160629163856-8e7a99b3e716
|
|
github.com/urfave/cli v1.20.0
|
|
github.com/vivint/infectious v0.0.0-20180510042615-a7f6b88306f8
|
|
github.com/xwb1989/sqlparser v0.0.0-20180606152119-120387863bf2 // indirect
|
|
github.com/yuin/gopher-lua v0.0.0-20180827083657-b942cacc89fe // indirect
|
|
github.com/zeebo/admission v0.0.0-20180821192747-f24f2a94a40c
|
|
github.com/zeebo/errs v0.1.0
|
|
github.com/zeebo/float16 v0.1.0
|
|
github.com/zeebo/incenc v0.0.0-20180505221441-0d92902eec54
|
|
github.com/zmb3/goaddimport v0.0.0-20170810013102-4ab94a07ab86 // indirect
|
|
github.com/zmb3/gogetdoc v0.0.0-20180522031303-10095872a7c5 // indirect
|
|
go.opencensus.io v0.15.0 // indirect
|
|
go.uber.org/atomic v1.3.2 // indirect
|
|
go.uber.org/multierr v1.1.0 // indirect
|
|
go.uber.org/zap v1.8.0
|
|
golang.org/x/crypto v0.0.0-20180820150726-614d502a4dac
|
|
golang.org/x/net v0.0.0-20180821023952-922f4815f713
|
|
golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be // indirect
|
|
golang.org/x/text v0.3.0
|
|
golang.org/x/time v0.0.0-20180412165947-fbb02b2291d2 // indirect
|
|
golang.org/x/tools v0.0.0-20180828015842-6cd1fcedba52 // indirect
|
|
google.golang.org/api v0.0.0-20180822000451-0873c9a91f71 // indirect
|
|
google.golang.org/genproto v0.0.0-20180427144745-86e600f69ee4
|
|
google.golang.org/grpc v1.11.3
|
|
gopkg.in/Shopify/sarama.v1 v1.17.0 // indirect
|
|
gopkg.in/VividCortex/ewma.v1 v1.1.1 // indirect
|
|
gopkg.in/alecthomas/kingpin.v3-unstable v3.0.0-20180810215634-df19058c872c // indirect
|
|
gopkg.in/cheggaaa/pb.v2 v2.0.6 // indirect
|
|
gopkg.in/fatih/color.v1 v1.7.0 // indirect
|
|
gopkg.in/mattn/go-colorable.v0 v0.0.9 // indirect
|
|
gopkg.in/mattn/go-isatty.v0 v0.0.3 // indirect
|
|
gopkg.in/mattn/go-runewidth.v0 v0.0.3 // indirect
|
|
gopkg.in/olivere/elastic.v5 v5.0.71 // indirect
|
|
gopkg.in/spacemonkeygo/monkit.v2 v2.0.0-20180827161543-6ebf5a752f9b
|
|
gopkg.in/yaml.v2 v2.2.1
|
|
)
|
|
|
|
exclude gopkg.in/olivere/elastic.v5 v5.0.72 // buggy import, see https://github.com/olivere/elastic/pull/869
|