setup

package
v0.14.9 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2019 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (

	// Error is the class of errors returned by this package
	Error = errs.Class("uplink setup")
)

Functions

func LoadEncryptionAccess added in v0.14.5

func LoadEncryptionAccess(ctx context.Context, cfg uplink.EncryptionConfig) (_ *libuplink.EncryptionAccess, err error)

LoadEncryptionAccess loads an EncryptionAccess from the values specified in the encryption config.

func SaveEncryptionKey

func SaveEncryptionKey(inputKey string, filepath string) error

SaveEncryptionKey generates a Storj key from the inputKey and save it into a new file created in filepath.

Types

This section is empty.

Jump to

Keyboard shortcuts

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