Commit Graph

49 Commits

Author SHA1 Message Date
Natalie Ventura Villasana
afb06df26d changes the import statements to storj.io 2018-05-07 11:03:59 -06:00
Natalie Ventura Villasana
4e8336f2ab adds zap logger, some flags, some nit fixes 2018-05-07 11:03:59 -06:00
Natalie Ventura Villasana
d93dacb53e fixes some error handling, updates storj import links 2018-05-07 11:03:59 -06:00
Natalie Ventura Villasana
8d8fd76748 adds suggested organization, zeebo, err handling 2018-05-07 11:03:59 -06:00
Natalie Ventura Villasana
5dec8fafaf adds bolt crud interface w put, get, list, delete 2018-05-07 11:03:59 -06:00
Kaloyan Raev
1c56a4cf5c Decoder can tolerate readers with unexpected EOF and random data (#27)
* Decoder can tolerate readers with unexpected EOF

* Return EOF if required number of inbufs are at EOF

* Use existing randData() to generate random data for tests

* Test case for io.ErrUnexpectedEOF

* Add TransformReaderSize constructor
2018-05-04 14:52:49 -06:00
JT Olds
4f40280c71 some small import cleanups, go generate overlay protos (#25)
checking in go generated stuff is recommended by
https://blog.golang.org/generate
2018-05-01 13:24:32 -04:00
Dennis Coyle
f31fede825
Merge pull request #23 from MeijeSibbel/patch-1
update readme
2018-04-30 10:53:41 -04:00
Kaloyan Raev
8c96f4e5a5 Avoid extra Range requests for content type detection 2018-04-30 06:08:41 -06:00
Kaloyan Raev
4635621a4d Move helper structs inside functions 2018-04-30 06:06:25 -06:00
Kaloyan Raev
acce2bfc08 Reduce network latency by initializing Rangers in parallel 2018-04-30 06:06:25 -06:00
Meije Sibbel
86a2371961
update readme
1. Fixed a few spelling issues.
2. Added capital letter to the Storj name instead of a lowercase one. 
3. Reformulated some sentences. 
3. Some other small fixes.
2018-04-27 14:53:46 +02:00
Kaloyan Raev
69239e9e17 Do not fail decoding on first read error (#17)
* Do not fail decoding on first read error

Try decoding with the rest successfully read inputs.

* some small code improvements

* Allocate map memory upfront
2018-04-23 20:17:50 -06:00
JT Olds
00854b9736
pkg/ranger: FileRanger (#18) 2018-04-23 20:16:34 -06:00
Dennis Coyle
fe60ba02a3 lint step for copyright headers (#16)
* overlay proto

* grpc server and client

* fix import to storj

* tests

* change imports

* imports cleanup/comments

* PR comments addressed from @jtolds

* lint step for copyright headers

* spelling

* PR comments addressed from @jtolds
2018-04-23 10:05:52 -06:00
Dennis Coyle
ecbd5f08c3 Adding gRPC server/clients for overlay (#14)
* overlay proto

* grpc server and client

* fix import to storj

* tests

* change imports

* imports cleanup/comments

* PR comments addressed from @jtolds
2018-04-23 09:54:22 -06:00
Dennis Coyle
af30d8ffa1 fixing import 2018-04-23 09:54:00 -06:00
Dennis Coyle
86e2657bdd PR comments from @jtolds 2018-04-23 09:54:00 -06:00
Dennis Coyle
e6e1dae7fc redis client 2018-04-23 09:54:00 -06:00
Bryan White
1a65a65dd6
Merge pull request #13 from coyle/protoc-helpers
update README.md with steps for setting up protobufs
2018-04-18 20:20:47 +02:00
Dennis Coyle
ab38cacc77
Merge pull request #3 from bryanchriswhite/protoc-helpers
bugfix: https://github.com/alecthomas/gometalinter#installing
2018-04-18 14:19:36 -04:00
Bryan White
2e1ca41d39 bugfix: https://github.com/alecthomas/gometalinter#installing 2018-04-18 14:13:18 -04:00
Dennis Coyle
bd0d2778f0 add linter to build-dev-deps 2018-04-17 14:18:39 -04:00
Dennis Coyle
7d9d0e940c updating how we get dev deps 2018-04-17 13:29:15 -04:00
Dennis Coyle
2f88365500
Merge pull request #2 from bryanchriswhite/protoc-helpers
Add dev deps go.mod file & update readme
2018-04-17 11:53:49 -04:00
Bryan White
8f7d34b63c convert dev-deps imports to be anonymous 2018-04-17 11:49:24 -04:00
Bryan White
d737a776bf update readme
(cherry picked from commit 7a79a72db0c54142c18fc12ff5eb7280896ea92a)
2018-04-17 11:30:15 -04:00
Bryan White
18276e9118 add dev directory for tracking dev dependencies via vgo
(cherry picked from commit d4026c4e801c0957b1ebbba5bb1ffbb8e3e77feb)
2018-04-17 11:30:14 -04:00
Kaloyan Raev
f96cc9c955 HTTP Ranger (#11)
* HTTPRanger

* Migrate eestream library to use ReadCloser instead of Reader

* Use MultiReadCloser instead of MultiReader

* Adapt example cli cmds to latest serverbox changes

* Close LazyReadCloser only if only generated

* Close ReadClosers sequentially

* Close response body on unexpected status code

* Avoid double close of the pipe reader

* Better formatting for imports

* Exit instead of panicking
2018-04-17 07:39:14 -06:00
Dennis Coyle
9759ca5f56 add vgo section | protoc in path 2018-04-17 09:38:31 -04:00
Dennis Coyle
9dc9e63acd update README.md with steps for setting up protobufs 2018-04-17 09:18:36 -04:00
Dennis Coyle
2c08e56b20 fix import to storj 2018-04-16 10:09:01 -06:00
Dennis Coyle
1975b98eba grpc server and client 2018-04-16 10:09:01 -06:00
Dennis Coyle
9e31cfc7a0 overlay proto 2018-04-16 10:09:01 -06:00
Kaloyan Raev
7fde8b908a
Light client implementation with get-info and list-buckets commands (#2)
* Light client implementation with get-info and list-buckets commands

* Fix client package name

* Fix go.mod to work with vgo

* Use single `fmt.Printf` for `get-info` output

* Use unnamed import to client package

* Simplify usage of sha256 and sha512 sums

* Remove obsolete test code

* Use helper structs for unmarshalling bridge info

* Remove LGPL license files and adjust copyright headers

* Use github.com/zeebo/errs

* Use httptest for test http server

* Use viper for env var management

* Nested struct for swagger

* Add github.com/zeebo/errs to go.mod

* More bucket tests

* word wrap long line

* Use zeebo/errs for crypto errors
2018-04-16 16:42:06 +03:00
JT Olio
c90143a58d eestream: make secretbox example harder to fall victim to nonce reuse 2018-04-16 06:52:23 -06:00
Kaloyan Raev
6c2c4b92e4
Merge pull request #1 from jtolds/master
merge eestream
2018-04-11 22:32:06 +03:00
JT Olio
d84757d49a pkg/ranger: fix linting errors 2018-04-11 08:05:41 -06:00
JT Olio
80fa10a06e pkg/eestream: initial 2018-04-11 07:46:34 -06:00
Dennis Coyle
bc1d0deb11
Merge pull request #3 from coyle/master
Add error handling section
2018-04-11 07:57:11 -05:00
JT Olio
21d8a20037 ranger package 2018-04-11 06:55:40 -06:00
Dennis Coyle
ffd48c3e2f
Merge pull request #1 from coyle/coyle-doc-err-handling
Add error handling section
2018-04-11 07:43:43 -05:00
Dennis Coyle
6c8eb29530
Add error handling section 2018-04-11 07:43:23 -05:00
Dennis Coyle
fa164d58af logo 2018-04-06 12:39:49 -04:00
Dennis Coyle
0e38c50091 logo 2018-04-06 12:39:19 -04:00
Dennis Coyle
a3a341f6dd storj 2018-04-06 12:38:32 -04:00
Dennis Coyle
dec1bacd49 logo 2018-04-06 12:38:05 -04:00
Dennis Coyle
b236d7dffb keep 2018-04-06 12:36:55 -04:00
Dennis Coyle
250b36f27b wip on structure 2018-04-06 12:32:34 -04:00