2018-05-31 20:42:45 +01:00
|
|
|
module storj.io/storj
|
2018-04-16 14:42:06 +01:00
|
|
|
|
|
|
|
require (
|
2018-08-23 08:05:56 +01:00
|
|
|
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/aliyun/aliyun-oss-go-sdk v0.0.0-20180615125516-36bf7aa2f916 // indirect
|
2018-06-05 12:48:19 +01:00
|
|
|
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
|
2018-08-23 08:05:56 +01:00
|
|
|
github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973 // indirect
|
2018-06-05 12:48:19 +01:00
|
|
|
github.com/boltdb/bolt v1.3.1
|
|
|
|
github.com/ccding/go-stun v0.0.0-20171206150302-d9bbe8f8fa7b
|
2018-08-23 08:05:56 +01:00
|
|
|
github.com/cheggaaa/pb v1.0.5-0.20160713104425-73ae1d68fe0b // indirect
|
2018-06-05 22:06:37 +01:00
|
|
|
github.com/cloudfoundry/gosigar v1.1.0
|
2018-08-23 08:05:56 +01:00
|
|
|
github.com/coredns/coredns v1.2.0 // indirect
|
|
|
|
github.com/coreos/etcd v3.3.9+incompatible // indirect
|
2018-06-22 14:33:57 +01:00
|
|
|
github.com/coyle/kademlia v0.0.0-20180618235119-de4313d761cd
|
2018-08-23 08:05:56 +01:00
|
|
|
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
|
2018-06-05 12:48:19 +01:00
|
|
|
github.com/fatih/structs v1.0.0
|
2018-05-31 20:42:45 +01:00
|
|
|
github.com/fsnotify/fsnotify v1.4.7
|
2018-08-23 08:05:56 +01:00
|
|
|
github.com/garyburd/redigo v1.0.1-0.20170216214944-0d253a66e6e1 // indirect
|
|
|
|
github.com/go-ini/ini v1.38.1 // indirect
|
2018-05-31 20:42:45 +01:00
|
|
|
github.com/go-redis/redis v0.0.0-20180417061816-9ccc23344a52
|
2018-08-23 08:05:56 +01:00
|
|
|
github.com/go-sql-driver/mysql v1.4.0 // indirect
|
2018-05-31 20:42:45 +01:00
|
|
|
github.com/gogo/protobuf v1.0.0
|
2018-06-04 22:30:42 +01:00
|
|
|
github.com/golang/mock v1.1.1
|
Added rpc server (#40)
* Added piecestore
* gofmt
* Added requested changes
* Added cli
* Removed ranger because I wanted something that can stand alone
* Add example of http server using piece store
* Changed piecestore code to make it more optial for error handelling
* Merged with piecestore
* Added missing package
* Forgot io import
* gofmt
* gofmt
* Forgot io
* Make path by hash exported
* updated to simplify again whoops
* Updated server to work real good
* Forgot ampersand
* Updated to match FilePiece
* Merged in cam's delete code
* Remove unused io
* Added RPC code
* Give the download request a reader
* Removed http server stuff; changed receive stream to say io.reader
* Added expiration date to shardInfo
* Change all instances of Shard to Piece; change protobuf name; moved client insance to outside functions
* added ttl info request
* Move scripts to http server pr; added close method for Retrieve api
* added rpc server tests for getting piece meta data and retrieval routes
* Resolved linter errors, moved to prc server to pkg, updated go.mod to use latest protobuf
* Imported cams test
* Bump gometalinter deadline
* WIP adding tests
* added tests for store and delete routes
* Add changes as requested by Kaloyan, also cleaned up some code
* Get the code actually working whoops
* More cleanup
* Separating database calls from api.go
* need to rename expiration
* Added some changes requested by JT
* Fix read size
* Fixed total amount to read
* added tests
* Simplify protobuf, add store tests, edited api to handle invalid stores properly, return errors instead of messages
* Moved rpc client and server to piece store
* Moved piecestore protobuf to the /protos folder
* Cleaned up messages
* Clean up linter errors
* Added missing sqlite import
* Add ability to do iterative reads and writes to pstore
* Incrementally read data
* Fix linter and import errors
* Solve linter Error
* Change return types
* begin test refactor
* refactored to implement only 1 db connection, moved SQLite row checking into separate function and removed defer on rows.Close(), fixed os.tempDir in rpc_test.go
* Cleaning up tests
* Added retrieve tests
* refactored delete tests
* Deleted old tests
* Updated cmd/piecestore to reflect changes to piecestore
* Refactored server tests and server/client store code
* gofmt
* WIP implementing TTL struct
* Read 4k at a time when Retrieving
* implemented ttl struct
* Accidentally removed fpiece dependency?
* Double resolve merge conflict
* Moved client to the examples since it is an example
* Change hash to id in protobuf. TODO: Change client and server to reflect these changes
* Update client and protobuf
* changed hash to id
* Handle eof properly in retrieve
* Id -> ID
* forgot to change import for client after moving
* Moved client and server main to examples
* Made changes requested by JT
* checkEntries is now private, created currentTime variable for checkEntries, added defer rows.Close()
* Print not fatal
* Handle overflow when reading from server
* added const IDLength
* removed types from comments
* Add reader/writer for download data from and uploading data to server
* goimports and comments
* fixed nits, casts, added OK const, DBCleanup now exits program on error
* Add stream reader and writer for server
* Fix errors
* i beforee except after c lol
* customizable data dir
* Forgot to rename variable
* customizable data dir
* Handle closing of server stream properly
* linter
* pass on inserting the same data twice
* linter
* linter
* Do the easy things JT asked for
* Handle overflow from reads properly; handle custom db path
* Handle overflow for server stream read; TODO Combine server and client stream reads
* Allow for TTL of 0 to stay forever
* Make Client cleaner for user
2018-06-02 19:14:59 +01:00
|
|
|
github.com/golang/protobuf v1.1.0
|
2018-08-23 08:05:56 +01:00
|
|
|
github.com/gomodule/redigo v2.0.0+incompatible // 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/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
|
2018-05-31 20:42:45 +01:00
|
|
|
github.com/hashicorp/hcl v0.0.0-20180404174102-ef8a98b0bbce
|
2018-08-23 08:05:56 +01:00
|
|
|
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
|
2018-06-05 12:48:19 +01:00
|
|
|
github.com/jbenet/go-base58 v0.0.0-20150317085156-6237cf65f3a6
|
2018-08-23 08:05:56 +01:00
|
|
|
github.com/joyent/triton-go v0.0.0-20180628001255-830d2b111e62 // indirect
|
2018-06-05 22:06:37 +01:00
|
|
|
github.com/jtolds/monkit-hw v0.0.0-20180222001630-9b6edb34372a
|
2018-08-23 08:05:56 +01:00
|
|
|
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
|
2018-05-31 20:42:45 +01:00
|
|
|
github.com/magiconair/properties v1.7.6
|
2018-08-23 08:05:56 +01:00
|
|
|
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
|
2018-06-05 22:06:37 +01:00
|
|
|
github.com/mattn/go-sqlite3 v1.7.0
|
2018-08-23 08:05:56 +01:00
|
|
|
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
|
2018-06-05 12:48:19 +01:00
|
|
|
github.com/minio/cli v1.3.0
|
2018-08-23 08:05:56 +01:00
|
|
|
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-20180802050851-eb391a53c145
|
|
|
|
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
|
2018-05-31 20:42:45 +01:00
|
|
|
github.com/mitchellh/mapstructure v0.0.0-20180220230111-00c29f56e238
|
2018-06-12 16:03:45 +01:00
|
|
|
github.com/mr-tron/base58 v0.0.0-20171218005042-c1bdf7c52f59
|
2018-08-23 08:05:56 +01:00
|
|
|
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
|
2018-05-31 20:42:45 +01:00
|
|
|
github.com/pelletier/go-toml v1.1.0
|
2018-08-23 08:05:56 +01:00
|
|
|
github.com/pierrec/lz4 v2.0.3+incompatible // indirect
|
|
|
|
github.com/pkg/errors v0.8.0 // 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/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
|
2018-05-31 20:42:45 +01:00
|
|
|
github.com/spacemonkeygo/errors v0.0.0-20171212215202-9064522e9fd1
|
2018-06-05 12:48:19 +01:00
|
|
|
github.com/spacemonkeygo/flagfile v0.0.0-20180426194429-0d750334dbb8
|
2018-08-25 01:23:09 +01:00
|
|
|
github.com/spacemonkeygo/monotime v0.0.0-20180824235756-e3f48a95f98a
|
2018-06-05 22:06:37 +01:00
|
|
|
github.com/spacemonkeygo/spacelog v0.0.0-20180420211403-2296661a0572
|
2018-05-31 20:42:45 +01:00
|
|
|
github.com/spf13/afero v1.1.0
|
|
|
|
github.com/spf13/cast v1.2.0
|
2018-08-23 08:05:56 +01:00
|
|
|
github.com/spf13/cobra v0.0.3
|
2018-06-21 20:36:39 +01:00
|
|
|
github.com/spf13/jwalterweatherman v0.0.0-20180109140146-7c0cea34c8ec
|
2018-05-31 20:42:45 +01:00
|
|
|
github.com/spf13/pflag v1.0.1
|
|
|
|
github.com/spf13/viper v1.0.2
|
2018-08-23 08:05:56 +01:00
|
|
|
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
|
2018-05-31 20:42:45 +01:00
|
|
|
github.com/tyler-smith/go-bip39 v0.0.0-20160629163856-8e7a99b3e716
|
|
|
|
github.com/urfave/cli v1.20.0
|
2018-06-05 12:48:19 +01:00
|
|
|
github.com/vivint/infectious v0.0.0-20180510042615-a7f6b88306f8
|
2018-08-23 08:05:56 +01:00
|
|
|
github.com/xwb1989/sqlparser v0.0.0-20180606152119-120387863bf2 // indirect
|
|
|
|
github.com/zeebo/admission v0.0.0-20180821192747-f24f2a94a40c
|
2018-05-31 20:42:45 +01:00
|
|
|
github.com/zeebo/errs v0.1.0
|
2018-06-05 12:48:19 +01:00
|
|
|
github.com/zeebo/float16 v0.1.0
|
|
|
|
github.com/zeebo/incenc v0.0.0-20180505221441-0d92902eec54
|
2018-08-23 08:05:56 +01:00
|
|
|
go.opencensus.io v0.15.0 // indirect
|
|
|
|
go.uber.org/atomic v1.3.2 // indirect
|
|
|
|
go.uber.org/multierr v1.1.0 // indirect
|
2018-06-05 12:48:19 +01:00
|
|
|
go.uber.org/zap v1.8.0
|
2018-08-23 08:05:56 +01:00
|
|
|
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/sys v0.0.0-20180821140842-3b58ed4ad339 // indirect
|
2018-05-31 20:42:45 +01:00
|
|
|
golang.org/x/text v0.3.0
|
2018-08-23 08:05:56 +01:00
|
|
|
golang.org/x/time v0.0.0-20180412165947-fbb02b2291d2 // indirect
|
|
|
|
google.golang.org/api v0.0.0-20180822000451-0873c9a91f71 // indirect
|
2018-05-31 20:42:45 +01:00
|
|
|
google.golang.org/genproto v0.0.0-20180427144745-86e600f69ee4
|
|
|
|
google.golang.org/grpc v1.11.3
|
2018-08-23 08:05:56 +01:00
|
|
|
gopkg.in/Shopify/sarama.v1 v1.17.0 // indirect
|
|
|
|
gopkg.in/VividCortex/ewma.v1 v1.1.1 // 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
|
2018-06-05 12:48:19 +01:00
|
|
|
gopkg.in/spacemonkeygo/monkit.v2 v2.0.0-20180117193750-694b83f5e32b
|
2018-05-31 20:42:45 +01:00
|
|
|
gopkg.in/yaml.v2 v2.2.1
|
2018-04-16 14:42:06 +01:00
|
|
|
)
|
2018-08-23 08:05:56 +01:00
|
|
|
|
|
|
|
exclude gopkg.in/olivere/elastic.v5 v5.0.72 // buggy import, see https://github.com/olivere/elastic/pull/869
|