setup

package
v0.14.4 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 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 LoadEncryptionCtx

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

LoadEncryptionCtx loads an EncryptionCtx 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