camlistore: github.com/jbreiding/camlistore/pkg

Directories

PathSynopsis
appPackage app provides helpers for server applications interacting with Camlistore.
authPackage auth implements Camlistore authentication.
blobPackage blob defines types to refer to and retrieve low-level Camlistore blobs.
blobserverPackage blobserver defines how raw blobs are stored and accessed.
blobserver/archiverPackage archiver zips lots of little blobs into bigger zip files and stores them somewhere.
blobserver/blobpacked
blobserver/condPackage cond registers the "cond" conditional blobserver storage type to select routing of get/put operations on blobs to other storage targets as a function of their content.
blobserver/dirPackage dir implements the blobserver Storage interface for a directory, detecting whether the directory is file-per-blob (localdisk) or diskpacked.
blobserver/diskpackedPackage diskpacked registers the "diskpacked" blobserver storage type, storing blobs packed together into monolithic data files with an index listing the sizes and offsets of the little blobs within the large files.
blobserver/encryptPackage encrypt registers the "encrypt" blobserver storage type which stores all blobs and metadata with AES encryption into other wrapped storage targets (e.g.
blobserver/gethandlerPackage gethandler implements the HTTP handler for fetching blobs.
blobserver/handlersPackage handlers implements the HTTP interface to the Camlistore blob server.
blobserver/localPackage local implements functionality common to both the "localdisk" and "diskpacked" storage mechanisms.
blobserver/localdiskPackage localdisk registers the "filesystem" blobserver storage type, storing blobs in a forest of sharded directories at the specified root.
blobserver/memoryPackage memory registers the "memory" blobserver storage type, storing blobs in an in-memory map.
blobserver/mongoPackage mongo registers the "mongo" blobserver storage type, storing blobs using MongoDB.
blobserver/namespacePackage namespace implements the "namespace" blobserver storage type.
blobserver/protocolPackage protocol contains types for Camlistore protocol types.
blobserver/proxycachePackage proxycache registers the "proxycache" blobserver storage type, which uses a provided blobserver as a cache for a second origin blobserver.
blobserver/remotePackage remote registers the "remote" blobserver storage type, storing and fetching blobs from a remote Camlistore server, speaking the HTTP protocol.
blobserver/replicaPackage replica registers the "replica" blobserver storage type, providing synchronous replication to one more backends.
blobserver/s3Package s3 registers the "s3" blobserver storage type, storing blobs in an Amazon Web Services' S3 storage bucket.
blobserver/shardPackage shard registers the "shard" blobserver storage type, predictably spraying out blobs out over the provided backends based on their blobref.
blobserver/statsPackage stats contains an in-memory StatReceiver that only stores sizes of received blobs but not their contents.
blobserver/storagetestPackage storagetest tests blobserver.Storage implementations
buildinfoPackage buildinfo provides information about the current build.
cacherPackage cacher provides various blobref fetching caching mechanisms.
camerrorsPackage camerrors define specific errors that are used to decide on how to deal with some failure cases.
camlegalPackage camlegal registers the Camlistore License
clientPackage client implements a Camlistore client.
client/androidPackage android contains code specific to running the Camlistore client code as a child process on Android.
cmdmainPackage cmdmain contains the shared implementation for camget, camput, camtool, and other Camlistore command-line tools.
constantsPackage constants contains Camlistore constants.
constants/googlePackage google contains constants specific to Google.
convPackage conv contains utilities for parsing values delimited by spaces.
envPackage env detects what sort of environment Camlistore is running in.
fileembedPackage fileembed provides access to static data resources (images, HTML, css, etc) embedded into the binary with genfileembed.
fileembed/genfileembedThe genfileembed command embeds resources into Go files, to eliminate run-time dependencies on files on the filesystem.
fsPackage fs implements a FUSE filesystem for Camlistore and is used by the cammount binary.
gcPackage gc defines a generic garbage collector.
geocodePackage geocode handles mapping user-entered locations into lat/long polygons.
googlestoragePackage googlestorage is simple Google Cloud Storage client.
hashutilPackage hashutil contains misc hashing functions lacking homes elsewhere.
httputilPackage httputil contains a bunch of HTTP utility code, some generic, and some Camlistore-specific.
images
images/fastjpegPackage fastjpeg uses djpeg(1), from the Independent JPEG Group's (www.ijg.org) jpeg package, to quickly down-sample images on load.
images/resizePackage resize resizes images.
importerPackage importer imports content from third-party websites.
importer/allimportersPackage allimporters registers all the importer implementations.
importer/dummyPackage dummy is an example importer for development purposes.
importer/feedPackage feed implements an importer for RSS, Atom, and RDF feeds.
importer/feed/atomPackage atom defines XML data structures for an Atom feed.
importer/feed/rdfPackage rdf defines XML data structures for an RDF feed.
importer/feed/rssPackage rss defines XML data structures for an RSS feed.
importer/flickrPackage flickr implements an importer for flickr.com accounts.
importer/foursquarePackage foursquare implements an importer for foursquare.com accounts.
importer/picasaPackage picasa implements an importer for picasa.com accounts.
importer/pinboardPackage pinboard imports pinboard.in posts.
importer/twitterPackage twitter implements a twitter.com importer.
indexPackage index provides a generic indexing system on top of the abstract Storage interface.
index/indextestPackage indextest contains the unit tests for the indexer so they can be re-used for each specific implementation of the index Storage interface.
index/sqlindexPackage sqlindex implements the sorted.KeyValue interface using an *sql.DB.
index/sqlite
jsonsignPackage jsonsign implements Camlistore's cryptographic signing and verification of JSON blobs.
jsonsign/signhandlerPackage signhandler implements the HTTP interface to signing and verifying Camlistore JSON blobs.
kvutilPackage kvutil contains helpers related to github.com/cznic/kv.
leak
lruPackage lru implements an LRU cache.
magicPackage magic implements MIME type sniffing of data based on the well-known "magic" number prefixes in the file.
mediaPackage media provides means for querying information about audio and video data.
netutilPackage netutil identifies the system userid responsible for localhost TCP connections.
osutilPackage osutil provides operating system-specific path information, and other utility functions.
osutil/gcePackage gce configures hooks for running Camlistore for Google Compute Engine.
pools
publishPackage publish exposes the types and functions that can be used from a Go template, for publishing.
readerutilPackage readerutil provides and operates on io.Readers.
rollsumPackage rollsum implements rolling checksums similar to apenwarr's bup, which is similar to librsync.
schemaPackage schema manipulates Camlistore schema blobs.
schema/nodeattrPackage nodeattr contains constants for permanode attribute names.
searchPackage search describes and answers Camlistore search queries.
serverPackage server implements the server HTTP interface for the UI, publishing, setup, status, sync, thubnailing, etc.
server/appPackage app helps with configuring and starting server applications from Camlistore.
serverinitPackage serverinit is responsible for mapping from a Camlistore configuration file and instantiating HTTP Handlers for all the necessary endpoints.
sortedPackage sorted provides a KeyValue interface and constructor registry.
sorted/bufferPackage buffer provides a sorted.KeyValue implementation that buffers one KeyValue implementation in front of an another.
sorted/kvfilePackage kvfile provides an implementation of sorted.KeyValue on top of a single mutable database file on disk using github.com/cznic/kv.
sorted/kvtestPackage kvtest tests sorted.KeyValue implementations.
sorted/leveldbPackage leveldb provides an implementation of sorted.KeyValue on top of a single mutable database file on disk using github.com/syndtr/goleveldb.
sorted/mongoPackage mongo provides an implementation of sorted.KeyValue using MongoDB.
sorted/mysqlPackage mysql provides an implementation of sorted.KeyValue on top of MySQL.
sorted/postgresPackage postgres provides an implementation of sorted.KeyValue on top of PostgreSQL.
sorted/sqlitePackage sqlite provides an implementation of sorted.KeyValue using an SQLite database file.
sorted/sqlkvPackage sqlkv implements the sorted.KeyValue interface using an *sql.DB.
testPackage test provides common Camlistore test objects.
test/assertsPackage asserts provides a bad implementation of test predicate helpers.
test/dockertestPackage dockertest contains helper functions for setting up and tearing down docker containers to aid in testing.
test/integration
webserverPackage webserver implements a superset wrapper of http.Server.

Updated 2018-06-25. Refresh now. Tools for package owners.