Directories ¶
Path | Synopsis |
---|---|
Package app provides helpers for server applications interacting with Camlistore.
|
Package app provides helpers for server applications interacting with Camlistore. |
Package auth implements Camlistore authentication.
|
Package auth implements Camlistore authentication. |
Package blob defines types to refer to and retrieve low-level Camlistore blobs.
|
Package blob defines types to refer to and retrieve low-level Camlistore blobs. |
Package blobserver defines how raw blobs are stored and accessed.
|
Package blobserver defines how raw blobs are stored and accessed. |
archiver
Package archiver zips lots of little blobs into bigger zip files and stores them somewhere.
|
Package archiver zips lots of little blobs into bigger zip files and stores them somewhere. |
cond
Package 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.
|
Package 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. |
dir
Package dir implements the blobserver Storage interface for a directory, detecting whether the directory is file-per-blob (localdisk) or diskpacked.
|
Package dir implements the blobserver Storage interface for a directory, detecting whether the directory is file-per-blob (localdisk) or diskpacked. |
diskpacked
Package diskpacked registers the "diskpacked" blobserver storage type, storing blobs in sequence of monolithic data files indexed by a kvfile index.
|
Package diskpacked registers the "diskpacked" blobserver storage type, storing blobs in sequence of monolithic data files indexed by a kvfile index. |
encrypt
Package encrypt registers the "encrypt" blobserver storage type which stores all blobs and metadata with AES encryption into other wrapped storage targets (e.g.
|
Package encrypt registers the "encrypt" blobserver storage type which stores all blobs and metadata with AES encryption into other wrapped storage targets (e.g. |
gethandler
Package gethandler implements the HTTP handler for fetching blobs.
|
Package gethandler implements the HTTP handler for fetching blobs. |
google/cloudstorage
Package cloudstorage registers the "googlecloudstorage" blob storage type, storing blobs on Google Cloud Storage (not Google Drive).
|
Package cloudstorage registers the "googlecloudstorage" blob storage type, storing blobs on Google Cloud Storage (not Google Drive). |
google/drive
Package drive registers the "googledrive" blobserver storage type, storing blobs in a Google Drive folder.
|
Package drive registers the "googledrive" blobserver storage type, storing blobs in a Google Drive folder. |
google/drive/service
DriveService translates blobserver.Storage methods into Google Drive API methods.
|
DriveService translates blobserver.Storage methods into Google Drive API methods. |
handlers
Package handlers implements the HTTP interface to the Camlistore blob server.
|
Package handlers implements the HTTP interface to the Camlistore blob server. |
local
Package local implements functionality common to both the "localdisk" and "diskpacked" storage mechanisms.
|
Package local implements functionality common to both the "localdisk" and "diskpacked" storage mechanisms. |
localdisk
Package localdisk registers the "filesystem" blobserver storage type, storing blobs in a forest of sharded directories at the specified root.
|
Package localdisk registers the "filesystem" blobserver storage type, storing blobs in a forest of sharded directories at the specified root. |
memory
Package memory registers the "memory" blobserver storage type, storing blobs in an in-memory map.
|
Package memory registers the "memory" blobserver storage type, storing blobs in an in-memory map. |
mongo
Package mongo registers the "mongo" blobserver storage type, storing blobs using MongoDB.
|
Package mongo registers the "mongo" blobserver storage type, storing blobs using MongoDB. |
namespace
Package namespace implements the "namespace" blobserver storage type.
|
Package namespace implements the "namespace" blobserver storage type. |
protocol
Package protocol contains types for Camlistore protocol types.
|
Package protocol contains types for Camlistore protocol types. |
proxycache
Package proxycache registers the "proxycache" blobserver storage type, which uses a provided blobserver as a cache for a second origin blobserver.
|
Package proxycache registers the "proxycache" blobserver storage type, which uses a provided blobserver as a cache for a second origin blobserver. |
remote
Package remote registers the "remote" blobserver storage type, storing and fetching blobs from a remote Camlistore server, speaking the HTTP protocol.
|
Package remote registers the "remote" blobserver storage type, storing and fetching blobs from a remote Camlistore server, speaking the HTTP protocol. |
replica
Package replica registers the "replica" blobserver storage type, providing synchronous replication to one more backends.
|
Package replica registers the "replica" blobserver storage type, providing synchronous replication to one more backends. |
s3
Package s3 registers the "s3" blobserver storage type, storing blobs in an Amazon Web Services' S3 storage bucket.
|
Package s3 registers the "s3" blobserver storage type, storing blobs in an Amazon Web Services' S3 storage bucket. |
shard
Package shard registers the "shard" blobserver storage type, predictably spraying out blobs out over the provided backends based on their blobref.
|
Package shard registers the "shard" blobserver storage type, predictably spraying out blobs out over the provided backends based on their blobref. |
stats
Package stats contains an in-memory StatReceiver that only stores sizes of received blobs but not their contents.
|
Package stats contains an in-memory StatReceiver that only stores sizes of received blobs but not their contents. |
storagetest
Package storagetest tests blobserver.Storage implementations
|
Package storagetest tests blobserver.Storage implementations |
Package buildinfo provides information about the current build.
|
Package buildinfo provides information about the current build. |
Package cacher provides various blobref fetching caching mechanisms.
|
Package cacher provides various blobref fetching caching mechanisms. |
Package camerrors define specific errors that are used to decide on how to deal with some failure cases.
|
Package camerrors define specific errors that are used to decide on how to deal with some failure cases. |
Package client implements a Camlistore client.
|
Package client implements a Camlistore client. |
android
Package android contains code specific to running the Camlistore client code as a child process on Android.
|
Package android contains code specific to running the Camlistore client code as a child process on Android. |
Package cmdmain contains the shared implementation for camget, camput, camtool, and other Camlistore command-line tools.
|
Package cmdmain contains the shared implementation for camget, camput, camtool, and other Camlistore command-line tools. |
Package constants contains Camlistore constants.
|
Package constants contains Camlistore constants. |
Package context provides a Context type to propagate state and cancellation information.
|
Package context provides a Context type to propagate state and cancellation information. |
Package errorutil helps make better error messages.
|
Package errorutil helps make better error messages. |
Package fault handles fault injection for testing.
|
Package fault handles fault injection for testing. |
Package fileembed provides access to static data resources (images, HTML, css, etc) embedded into the binary with genfileembed.
|
Package fileembed provides access to static data resources (images, HTML, css, etc) embedded into the binary with genfileembed. |
genfileembed
The genfileembed command embeds resources into Go files, to eliminate run-time dependencies on files on the filesystem.
|
The genfileembed command embeds resources into Go files, to eliminate run-time dependencies on files on the filesystem. |
Package fs implements a FUSE filesystem for Camlistore and is used by the cammount binary.
|
Package fs implements a FUSE filesystem for Camlistore and is used by the cammount binary. |
Package gc defines a generic garbage collector.
|
Package gc defines a generic garbage collector. |
Package geocode handles mapping user-entered locations into lat/long polygons.
|
Package geocode handles mapping user-entered locations into lat/long polygons. |
Package googlestorage is simple Google Cloud Storage client.
|
Package googlestorage is simple Google Cloud Storage client. |
Package httputil contains a bunch of HTTP utility code, some generic, and some Camlistore-specific.
|
Package httputil contains a bunch of HTTP utility code, some generic, and some Camlistore-specific. |
fastjpeg
Package fastjpeg uses djpeg(1), from the Independent JPEG Group's (www.ijg.org) jpeg package, to quickly down-sample images on load.
|
Package fastjpeg uses djpeg(1), from the Independent JPEG Group's (www.ijg.org) jpeg package, to quickly down-sample images on load. |
resize
Package resize resizes images.
|
Package resize resizes images. |
Package importer imports content from third-party websites.
|
Package importer imports content from third-party websites. |
allimporters
Package allimporters registers all the importer implementations.
|
Package allimporters registers all the importer implementations. |
dummy
Package dummy is an example importer for development purposes.
|
Package dummy is an example importer for development purposes. |
feed
Package feed implements an importer for RSS, Atom, and RDF feeds.
|
Package feed implements an importer for RSS, Atom, and RDF feeds. |
feed/atom
Package atom defines XML data structures for an Atom feed.
|
Package atom defines XML data structures for an Atom feed. |
feed/rdf
Package rdf defines XML data structures for an RDF feed.
|
Package rdf defines XML data structures for an RDF feed. |
feed/rss
Package rss defines XML data structures for an RSS feed.
|
Package rss defines XML data structures for an RSS feed. |
flickr
Package flickr implements an importer for flickr.com accounts.
|
Package flickr implements an importer for flickr.com accounts. |
foursquare
Package foursquare implements an importer for foursquare.com accounts.
|
Package foursquare implements an importer for foursquare.com accounts. |
picasa
Package picasa implements an importer for picasa.com accounts.
|
Package picasa implements an importer for picasa.com accounts. |
pinboard
Package pinboard imports pinboard.in posts.
|
Package pinboard imports pinboard.in posts. |
twitter
Package twitter implements a twitter.com importer.
|
Package twitter implements a twitter.com importer. |
Package index provides a generic indexing system on top of the abstract Storage interface.
|
Package index provides a generic indexing system on top of the abstract Storage interface. |
indextest
Package indextest contains the unit tests for the indexer so they can be re-used for each specific implementation of the index Storage interface.
|
Package indextest contains the unit tests for the indexer so they can be re-used for each specific implementation of the index Storage interface. |
sqlindex
Package sqlindex implements the sorted.KeyValue interface using an *sql.DB.
|
Package sqlindex implements the sorted.KeyValue interface using an *sql.DB. |
Package jsonconfig defines a helper type for JSON objects to be used for configuration.
|
Package jsonconfig defines a helper type for JSON objects to be used for configuration. |
Package jsonsign implements Camlistore's cryptographic signing and verification of JSON blobs.
|
Package jsonsign implements Camlistore's cryptographic signing and verification of JSON blobs. |
signhandler
Package signhandler implements the HTTP interface to signing and verifying Camlistore JSON blobs.
|
Package signhandler implements the HTTP interface to signing and verifying Camlistore JSON blobs. |
Package kvutil contains helpers related to github.com/cznic/kv.
|
Package kvutil contains helpers related to github.com/cznic/kv. |
Package legal provides project-wide storage for compiled-in licenses.
|
Package legal provides project-wide storage for compiled-in licenses. |
legalprint
Package legalprint provides a printing helper for the legal package.
|
Package legalprint provides a printing helper for the legal package. |
Package lru implements an LRU cache.
|
Package lru implements an LRU cache. |
Package magic implements MIME type sniffing of data based on the well-known "magic" number prefixes in the file.
|
Package magic implements MIME type sniffing of data based on the well-known "magic" number prefixes in the file. |
Package media provides means for querying information about audio and video data.
|
Package media provides means for querying information about audio and video data. |
Package misc contains stuff which should probably move elsewhere.
|
Package misc contains stuff which should probably move elsewhere. |
amazon/s3
Package s3 implements a generic Amazon S3 client, not specific to Camlistore.
|
Package s3 implements a generic Amazon S3 client, not specific to Camlistore. |
closure
Package closure provides tools to help with the use of the closure library.
|
Package closure provides tools to help with the use of the closure library. |
closure/genclosuredeps
The genclosuredeps command, similarly to the closure depswriter.py tool, outputs to os.Stdout for each .js file, which namespaces it provides, and the namespaces it requires, hence helping the closure library to resolve dependencies between those files.
|
The genclosuredeps command, similarly to the closure depswriter.py tool, outputs to os.Stdout for each .js file, which namespaces it provides, and the namespaces it requires, hence helping the closure library to resolve dependencies between those files. |
closure/jstest
Package jstest uses the Go testing package to test JavaScript code using Node and Mocha.
|
Package jstest uses the Go testing package to test JavaScript code using Node and Mocha. |
gpgagent
Package gpgagent interacts with the local GPG Agent.
|
Package gpgagent interacts with the local GPG Agent. |
pinentry
Package pinentry interfaces with the pinentry(1) command to securely prompt the user for a password using whichever user interface the user is currently using.
|
Package pinentry interfaces with the pinentry(1) command to securely prompt the user for a password using whichever user interface the user is currently using. |
Package netutil identifies the system userid responsible for localhost TCP connections.
|
Package netutil identifies the system userid responsible for localhost TCP connections. |
Package osutil provides operating system-specific path information, and other utility functions.
|
Package osutil provides operating system-specific path information, and other utility functions. |
gce
Package gce configures hooks for running Camlistore for Google Compute Engine.
|
Package gce configures hooks for running Camlistore for Google Compute Engine. |
Package publish exposes the types and functions that can be used from a Go template, for publishing.
|
Package publish exposes the types and functions that can be used from a Go template, for publishing. |
Package readerutil provides and operates on io.Readers.
|
Package readerutil provides and operates on io.Readers. |
Package rollsum implements rolling checksums similar to apenwarr's bup, which is similar to librsync.
|
Package rollsum implements rolling checksums similar to apenwarr's bup, which is similar to librsync. |
Package schema manipulates Camlistore schema blobs.
|
Package schema manipulates Camlistore schema blobs. |
nodeattr
Package nodeattr contains constants for permanode attribute names.
|
Package nodeattr contains constants for permanode attribute names. |
Package search describes and answers Camlistore search queries.
|
Package search describes and answers Camlistore search queries. |
Package server implements the server HTTP interface for the UI, publishing, setup, status, sync, thubnailing, etc.
|
Package server implements the server HTTP interface for the UI, publishing, setup, status, sync, thubnailing, etc. |
app
Package app helps with configuring and starting server applications from Camlistore.
|
Package app helps with configuring and starting server applications from Camlistore. |
Package serverinit is responsible for mapping from a Camlistore configuration file and instantiating HTTP Handlers for all the necessary endpoints.
|
Package serverinit is responsible for mapping from a Camlistore configuration file and instantiating HTTP Handlers for all the necessary endpoints. |
Package singleflight provides a duplicate function call suppression mechanism.
|
Package singleflight provides a duplicate function call suppression mechanism. |
Package sorted provides a KeyValue interface and constructor registry.
|
Package sorted provides a KeyValue interface and constructor registry. |
buffer
Package buffer provides a sorted.KeyValue implementation that buffers one KeyValue implementation in front of an another.
|
Package buffer provides a sorted.KeyValue implementation that buffers one KeyValue implementation in front of an another. |
kvfile
Package kvfile provides an implementation of sorted.KeyValue on top of a single mutable database file on disk using github.com/cznic/kv.
|
Package kvfile provides an implementation of sorted.KeyValue on top of a single mutable database file on disk using github.com/cznic/kv. |
kvtest
Package kvtest tests sorted.KeyValue implementations.
|
Package kvtest tests sorted.KeyValue implementations. |
mongo
Package mongo provides an implementation of sorted.KeyValue using MongoDB.
|
Package mongo provides an implementation of sorted.KeyValue using MongoDB. |
mysql
Package mysql provides an implementation of sorted.KeyValue on top of MySQL.
|
Package mysql provides an implementation of sorted.KeyValue on top of MySQL. |
postgres
Package postgres provides an implementation of sorted.KeyValue on top of PostgreSQL.
|
Package postgres provides an implementation of sorted.KeyValue on top of PostgreSQL. |
sqlite
Package sqlite provides an implementation of sorted.KeyValue using an SQLite database file.
|
Package sqlite provides an implementation of sorted.KeyValue using an SQLite database file. |
sqlkv
Package sqlkv implements the sorted.KeyValue interface using an *sql.DB.
|
Package sqlkv implements the sorted.KeyValue interface using an *sql.DB. |
Package strutil contains string and byte processing functions.
|
Package strutil contains string and byte processing functions. |
Package syncutil provides various concurrency mechanisms.
|
Package syncutil provides various concurrency mechanisms. |
Package test provides common Camlistore test objects.
|
Package test provides common Camlistore test objects. |
asserts
Package asserts provides a bad implementation of test predicate helpers.
|
Package asserts provides a bad implementation of test predicate helpers. |
dockertest
Package dockertest contains helper functions for setting up and tearing down docker containers to aid in testing.
|
Package dockertest contains helper functions for setting up and tearing down docker containers to aid in testing. |
Package throttle provides a net.Listener that returns artificially-delayed connections for testing real-world connectivity.
|
Package throttle provides a net.Listener that returns artificially-delayed connections for testing real-world connectivity. |
Package types provides various common types.
|
Package types provides various common types. |
camtypes
Package camtypes is like the types package, but higher-level and contains Camlistore-specific types.
|
Package camtypes is like the types package, but higher-level and contains Camlistore-specific types. |
clientconfig
Package clientconfig provides types related to the client configuration file.
|
Package clientconfig provides types related to the client configuration file. |
serverconfig
Package serverconfig provides types related to the server configuration file.
|
Package serverconfig provides types related to the server configuration file. |
Package webserver implements a superset wrapper of http.Server.
|
Package webserver implements a superset wrapper of http.Server. |
Package wkfs implements the pluggable "well-known filesystem" abstraction layer.
|
Package wkfs implements the pluggable "well-known filesystem" abstraction layer. |
gcs
Package gcs registers a Google Cloud Storage filesystem at the well-known /gcs/ filesystem path if the current machine is running on Google Compute Engine.
|
Package gcs registers a Google Cloud Storage filesystem at the well-known /gcs/ filesystem path if the current machine is running on Google Compute Engine. |
Click to show internal directories.
Click to hide internal directories.