config

package
v0.0.0-...-c426cd6 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2020 License: Apache-2.0 Imports: 4 Imported by: 4

README

Shade Configuration

All Shade tools read a single JSON configuration file which must contain a representation of one shade Drive object. There are several example configs in the testdata/ subdirectory. These demonstrate bad configs, very basic configs for single Drive implementations, and a practical full config for storing encrypted contents in Google Drive.

Pull requests demonstrating novel configurations are welcome. :)

Tip: shadeutil genkeys -t N will generate RSA keys and print them as properly formatted JSON strings, for use with the "encrypt" client.

Documentation

Overview

Package config reads and parses a JSON config which must represent a single Drive object.

See the testdata/ subdirectory for example configurations.

Tip: `shadeutil genkeys -t N` will generate RSA keys and print them as properly formatted JSON strings, for use with the "encrypt" client.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Read

func Read(filename string) (drive.Config, error)

Read finds, reads, parses, and returns the config.

Types

This section is empty.

Jump to

Keyboard shortcuts

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