remote

package
v0.0.0-...-a5a65f0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 30, 2017 License: Apache-2.0 Imports: 6 Imported by: 48

Documentation

Overview

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.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFromClient

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

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

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL