Commit graph

16 commits

Author SHA1 Message Date
Chris Lu f7998f8652 merge conflicts 2015-02-07 15:35:28 -08:00
chrislusf cc724305b6 Using Url instead of PublicUrl for volume server
Originally there are only url(ip + port), and publicUrl. Because ip was
used to listen for http service, it has less flexibility and volume
server has to be accessed via publicUrl.

Recently we added ip.bind, for binding http service.

With this change, url can be used to connect to volume servers. And
publicUrl becomes a free style piece of url information, it does not
even need to be unique.
2015-02-02 10:16:50 -08:00
Chris Lu 179d36ba0e formatting code by: goimports -w=true . 2014-10-26 11:34:55 -07:00
wyy 4126280d55 use github.com/chrislusf instead of github.com/aszxqw 2014-09-25 16:57:22 +08:00
wyy 1cd19447e3 use github.com/aszxqw instead of code.google.com/p 2014-09-25 00:47:09 +08:00
Chris Lu b9aee2defb add TTL support
The volume TTL and file TTL are not necessarily the same. as long as
file TTL is smaller than volume TTL, it'll be fine.

volume TTL is used when assigning file id, e.g.
http://.../dir/assign?ttl=3h

file TTL is used when uploading
2014-09-20 12:38:59 -07:00
Chris Lu 4ecf5956d7 Add types to uploading 2014-04-15 10:01:13 -07:00
Chris Lu a121453188 benchmarking writing data to a specific collection 2014-03-09 23:54:07 -07:00
Chris Lu c830b60f36 refactoring 2014-03-09 18:50:45 -07:00
Chris Lu 1645d3c185 avoid nil cases when error 2013-11-19 02:12:56 -08:00
Chris Lu c4a4d3609b fix duplicated file id list entries when uploading large file 2013-11-18 23:03:06 -08:00
Chris Lu 0e5e0a3754 add option to split large files into parts and then upload 2013-11-18 21:47:31 -08:00
Chris Lu 82b74c7940 issue 43 "go fmt" chagnes from "Ryan S. Brown" <sb@ryansb.com>
some basic changes to parse upload url
2013-09-01 23:58:21 -07:00
Chris Lu 37b231b5dc Only limit input parameter to io.Reader 2013-08-14 11:31:39 -07:00
Chris Lu 8e1ac16d16 refactoring submit operation 2013-08-14 10:07:42 -07:00
Chris Lu d5e7c1de0a refactoring code
reusable code by go clients
2013-08-13 23:26:51 -07:00