2018-05-31 20:42:45 +01:00
|
|
|
module storj.io/storj
|
2018-04-16 14:42:06 +01:00
|
|
|
|
|
|
|
require (
|
2018-08-29 16:00:05 +01:00
|
|
|
9fans.net/go v0.0.0-20180727211846-5d4fa602e1e8 // indirect
|
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
|
2018-09-25 17:49:55 +01:00
|
|
|
github.com/alecthomas/gometalinter v2.0.11+incompatible // indirect
|
2018-08-29 16:00:05 +01:00
|
|
|
github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf // indirect
|
2018-09-05 17:10:35 +01:00
|
|
|
github.com/alicebob/gopher-json v0.0.0-20180125190556-5a6b3ba71ee6 // indirect
|
|
|
|
github.com/alicebob/miniredis v0.0.0-20180830063239-35be932987bc
|
2018-08-23 08:05:56 +01:00
|
|
|
github.com/aliyun/aliyun-oss-go-sdk v0.0.0-20180615125516-36bf7aa2f916 // indirect
|
2018-09-10 15:23:08 +01:00
|
|
|
github.com/anacrolix/missinggo v0.0.0-20180525074307-ca16e9f398a9 // indirect
|
|
|
|
github.com/anacrolix/sync v0.0.0-20180525101250-3870fa5b90c5 // indirect
|
|
|
|
github.com/anacrolix/utp v0.0.0-20180219060659-9e0e1d1d0572 // indirect
|
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
|
2018-09-10 15:23:08 +01:00
|
|
|
github.com/ccding/go-stun v0.0.0-20171206150302-d9bbe8f8fa7b // indirect
|
2018-09-20 19:41:42 +01:00
|
|
|
github.com/cheggaaa/pb v1.0.5-0.20160713104425-73ae1d68fe0b
|
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-09-25 17:49:55 +01:00
|
|
|
github.com/fatih/gomodifytags v0.0.0-20180914191908-141225bf62b6 // indirect
|
2018-09-10 15:23:08 +01:00
|
|
|
github.com/fatih/structs v1.0.0 // indirect
|
|
|
|
github.com/fsnotify/fsnotify v1.4.7 // indirect
|
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-09-08 18:06:44 +01:00
|
|
|
github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b // indirect
|
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
|
2018-09-05 17:10:35 +01:00
|
|
|
github.com/google/go-cmp v0.2.0
|
2018-08-29 16:00:05 +01:00
|
|
|
github.com/google/shlex v0.0.0-20150127133951-6f45313302b9 // indirect
|
2018-08-23 08:05:56 +01:00
|
|
|
github.com/googleapis/gax-go v2.0.0+incompatible // indirect
|
2018-09-10 15:23:08 +01:00
|
|
|
github.com/gorilla/context v1.1.1 // indirect
|
2018-08-23 08:05:56 +01:00
|
|
|
github.com/gorilla/handlers v1.4.0 // indirect
|
|
|
|
github.com/gorilla/mux v1.6.2 // indirect
|
|
|
|
github.com/gorilla/rpc v1.1.0 // indirect
|
2018-08-29 16:00:05 +01:00
|
|
|
github.com/gtank/cryptopasta v0.0.0-20170601214702-1f550f6f2f69
|
2018-08-23 08:05:56 +01:00
|
|
|
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-09-10 15:23:08 +01:00
|
|
|
github.com/hashicorp/hcl v0.0.0-20180404174102-ef8a98b0bbce // indirect
|
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-08-27 22:06:55 +01:00
|
|
|
github.com/jtolds/monkit-hw v0.0.0-20180827162413-5a254051f35d
|
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-09-11 16:35:46 +01:00
|
|
|
github.com/loov/hrtime v0.0.0-20180911122900-a9e82bc6c180
|
|
|
|
github.com/loov/plot v0.0.0-20180510142208-e59891ae1271
|
2018-09-10 15:23:08 +01:00
|
|
|
github.com/magiconair/properties v1.7.6 // indirect
|
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
|
2018-09-25 17:49:55 +01:00
|
|
|
github.com/mdempsky/gocode v0.0.0-20180727200127-00e7f5ac290a // indirect
|
2018-08-23 08:05:56 +01:00
|
|
|
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
|
2018-08-27 22:06:55 +01:00
|
|
|
github.com/minio/minio v0.0.0-20180508161510-54cd29b51c38
|
2018-09-11 16:35:46 +01:00
|
|
|
github.com/minio/minio-go v6.0.6+incompatible
|
2018-08-23 08:05:56 +01:00
|
|
|
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-09-10 15:23:08 +01:00
|
|
|
github.com/mitchellh/mapstructure v0.0.0-20180220230111-00c29f56e238 // indirect
|
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-08-29 16:00:05 +01:00
|
|
|
github.com/nicksnyder/go-i18n v1.10.0 // indirect
|
|
|
|
github.com/nsf/gocode v0.0.0-20180827180829-9f3c24f3a0fe // indirect
|
2018-09-10 15:23:08 +01:00
|
|
|
github.com/pelletier/go-toml v1.1.0 // indirect
|
2018-08-23 08:05:56 +01:00
|
|
|
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
|
2018-09-25 17:49:55 +01:00
|
|
|
github.com/rogpeppe/godef v1.0.0 // indirect
|
2018-08-23 08:05:56 +01:00
|
|
|
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
|
2018-09-25 17:49:55 +01:00
|
|
|
github.com/shirou/gopsutil v2.17.12+incompatible
|
2018-08-23 08:05:56 +01:00
|
|
|
github.com/skyrings/skyring-common v0.0.0-20160929130248-d1c0bb1cbd5e // indirect
|
2018-09-10 15:23:08 +01:00
|
|
|
github.com/spacemonkeygo/errors v0.0.0-20171212215202-9064522e9fd1 // indirect
|
|
|
|
github.com/spacemonkeygo/flagfile v0.0.0-20180426194429-0d750334dbb8 // indirect
|
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-09-10 15:23:08 +01:00
|
|
|
github.com/spf13/afero v1.1.0 // indirect
|
|
|
|
github.com/spf13/cast v1.2.0 // indirect
|
2018-08-23 08:05:56 +01:00
|
|
|
github.com/spf13/cobra v0.0.3
|
2018-09-10 15:23:08 +01:00
|
|
|
github.com/spf13/jwalterweatherman v0.0.0-20180109140146-7c0cea34c8ec // indirect
|
2018-05-31 20:42:45 +01:00
|
|
|
github.com/spf13/pflag v1.0.1
|
|
|
|
github.com/spf13/viper v1.0.2
|
2018-08-29 16:00:05 +01:00
|
|
|
github.com/sqs/goreturns v0.0.0-20180302073349-83e02874ec12 // indirect
|
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-08-29 16:00:05 +01:00
|
|
|
github.com/tpng/gopkgs v0.0.0-20180428091733-81e90e22e204 // 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-09-07 08:32:54 +01:00
|
|
|
github.com/vivint/infectious v0.0.0-20180906161625-e155e6eb3575
|
2018-08-23 08:05:56 +01:00
|
|
|
github.com/xwb1989/sqlparser v0.0.0-20180606152119-120387863bf2 // indirect
|
2018-09-05 17:10:35 +01:00
|
|
|
github.com/yuin/gopher-lua v0.0.0-20180827083657-b942cacc89fe // indirect
|
2018-08-23 08:05:56 +01:00
|
|
|
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-09-10 15:23:08 +01:00
|
|
|
github.com/zeebo/float16 v0.1.0 // indirect
|
|
|
|
github.com/zeebo/incenc v0.0.0-20180505221441-0d92902eec54 // indirect
|
2018-08-29 16:00:05 +01:00
|
|
|
github.com/zmb3/goaddimport v0.0.0-20170810013102-4ab94a07ab86 // indirect
|
2018-09-25 17:49:55 +01:00
|
|
|
github.com/zmb3/gogetdoc v0.0.0-20180924170037-dcba5406a6fc // indirect
|
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
|
2018-09-10 15:23:08 +01:00
|
|
|
golang.org/x/text v0.3.0 // indirect
|
2018-08-23 08:05:56 +01:00
|
|
|
golang.org/x/time v0.0.0-20180412165947-fbb02b2291d2 // indirect
|
2018-09-25 17:49:55 +01:00
|
|
|
golang.org/x/tools v0.0.0-20180924175601-e93be7f42f9f // indirect
|
2018-08-23 08:05:56 +01:00
|
|
|
google.golang.org/api v0.0.0-20180822000451-0873c9a91f71 // indirect
|
2018-09-10 15:23:08 +01:00
|
|
|
google.golang.org/appengine v1.1.0 // indirect
|
|
|
|
google.golang.org/genproto v0.0.0-20180427144745-86e600f69ee4 // indirect
|
2018-05-31 20:42:45 +01:00
|
|
|
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
|
2018-08-29 16:00:05 +01:00
|
|
|
gopkg.in/alecthomas/kingpin.v3-unstable v3.0.0-20180810215634-df19058c872c // indirect
|
2018-08-23 08:05:56 +01:00
|
|
|
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-08-27 22:06:55 +01:00
|
|
|
gopkg.in/spacemonkeygo/monkit.v2 v2.0.0-20180827161543-6ebf5a752f9b
|
2018-09-10 15:23:08 +01:00
|
|
|
gopkg.in/yaml.v2 v2.2.1 // indirect
|
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
|