perkeep/pkg
Brad Fitzpatrick bf94a73859 Get rid of SeekFetcher vs StreamingFetcher distinction and complexity.
StreamingFetcher is now just Fetcher, and its FetchStreaming is now
just Fetch.

SeekFetcher is gone. Blobs are max 16 MB anyway, so we can slurp to
memory when needed. The main thing that cared about SeekFetcher
was the GET handler, ServeBlobref, because http.ServeContent needed
one for range requests. That's rewritten in an earlier commit, using
the FakeSeeker from another earlier commit.

Lot of code got simpler as a result.

Change-Id: Ib819413e48a8f9b8d97f596d0fbf771dab211f11
2014-03-14 12:29:13 -07:00
..
auth Change the upload protocol. 2014-01-04 20:24:58 -08:00
blob Get rid of SeekFetcher vs StreamingFetcher distinction and complexity. 2014-03-14 12:29:13 -07:00
blobserver Get rid of SeekFetcher vs StreamingFetcher distinction and complexity. 2014-03-14 12:29:13 -07:00
buildinfo buildinfo: add func TestingLinked 2014-02-23 09:21:11 -08:00
cacher Get rid of SeekFetcher vs StreamingFetcher distinction and complexity. 2014-03-14 12:29:13 -07:00
camerrors camerrors: rename MissingKeyBlob to ErrMissingKeyBlob 2014-01-13 20:09:54 -08:00
client Get rid of SeekFetcher vs StreamingFetcher distinction and complexity. 2014-03-14 12:29:13 -07:00
cmdmain cmdmain, camput: PreExit should always run, not just in verbose mode 2014-02-27 20:47:15 -08:00
constants Move defaultMaxResizeBytes to pkg/constants 2014-01-06 08:08:47 -08:00
context Start of new context package and *context.Context type. 2013-12-02 13:20:51 -08:00
errorutil errorutil: write docs 2012-04-13 15:51:39 -07:00
fileembed genfileembed: touch the file modtime, even if contents are same, but it's old 2014-02-27 21:00:01 -08:00
fs Get rid of SeekFetcher vs StreamingFetcher distinction and complexity. 2014-03-14 12:29:13 -07:00
gc New 'gc' package, implementing a generic garbage collector. 2014-01-11 21:41:53 -08:00
geocode httputil: add DecodeJSON and CloseBody helpers, then use them everywhere 2014-01-28 22:00:52 -08:00
googlestorage googlestorage: don't use host configuration during tests 2014-02-23 10:04:48 -08:00
httputil httputil: add IsWebsocketUpgrade, fix BadRequestError inconsistency 2014-02-03 20:24:45 -05:00
images images: minor doc comment update 2014-01-17 16:47:29 -08:00
importer Added some icons for checkins and venues. 2014-03-11 18:23:13 -07:00
index Get rid of SeekFetcher vs StreamingFetcher distinction and complexity. 2014-03-14 12:29:13 -07:00
jsonconfig pkg/client: some cleanup, doc on the website 2013-12-23 20:23:21 +01:00
jsonsign Get rid of SeekFetcher vs StreamingFetcher distinction and complexity. 2014-03-14 12:29:13 -07:00
kvutil camput: have cache and stat cache based on github.com/cznic/kv 2013-08-30 23:54:22 +02:00
leak leak: fix racy test 2014-02-25 16:06:56 -08:00
lru More docs. Every package is documented now. 2013-07-07 21:12:30 -07:00
magic pkg/tests: Warn about deprecation of asserts.* functions in pkg description. 2014-02-19 10:42:29 +03:00
media pkg/index: Index audio duration. 2014-01-25 10:40:06 -08:00
misc Convert all S3 requests to HTTPS 2014-03-09 21:00:13 +02:00
netutil netutil: add little AwaitReachable func 2014-02-09 19:55:36 -08:00
osutil osutil: fail if tests access host paths 2014-02-23 10:59:56 -08:00
publish server/publish.go: use go html template for publishing 2013-11-19 17:50:26 +01:00
readerutil readerutil: fix OpenSingle bug causing "bad file descriptor" in dispacked. 2013-12-24 10:57:06 -08:00
rollsum rollsum: add OnSplitWithBits 2013-06-09 19:48:30 +02:00
schema Get rid of SeekFetcher vs StreamingFetcher distinction and complexity. 2014-03-14 12:29:13 -07:00
search search: add operator "childrenof:sha1-xxxxx" to find permanode children of a parent 2014-03-13 19:02:26 -07:00
server Get rid of SeekFetcher vs StreamingFetcher distinction and complexity. 2014-03-14 12:29:13 -07:00
serverinit serverinit: fix flaky test. sort publishRoot prefixes, for predictable output 2014-03-14 12:09:17 -07:00
singleflight singleflight: open soure this package. 2013-01-05 16:23:53 -08:00
sorted mongo: test using Docker 2014-02-09 20:02:56 -08:00
strutil strutil: ContainsFold 2014-01-10 16:49:13 -08:00
syncutil Added syncutil.Once 2014-01-25 12:04:47 -08:00
test Get rid of SeekFetcher vs StreamingFetcher distinction and complexity. 2014-03-14 12:29:13 -07:00
throttle throttle: actually compile. 2014-01-08 19:55:24 -08:00
types types: add NewFakeSeeker 2014-03-14 11:09:00 -07:00
webserver webserver: also log req.RemoteAddr in verbose mode 2014-01-28 12:31:20 -08:00
.gitignore Update from r60 to [almost] Go 1. 2012-02-18 21:53:06 -08:00