Index | Files

package remote

import ""

Package remote registers the "remote" blobserver storage type, storing and fetching blobs from a remote Camlistore server over HTTPS.

Example low-level config:

"/peer/": {
    "handler": "storage-remote",
    "handlerArgs": {
        "url": "https://some-other-server/base",
        "auth": "userpass:user:pass",
        "skipStartupCheck": false

The "handlerArgs" may also contain an optional "trustedCert" option to trust a self-signed TLS certificate. The value is the 20 byte hex prefix of the SHA-256 of the cert, as printed by the camlistored server on start-up.


Package Files


func NewFromClient Uses

func NewFromClient(c *client.Client) blobserver.Storage

NewFromClient returns a new Storage implementation using the provided Camlistore client.

Package remote imports 6 packages (graph) and is imported by 11 packages. Updated 2018-01-18. Refresh now. Tools for package owners.