common

package
v0.0.21-dev Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BucketEncryptionKeyFromContext

func BucketEncryptionKeyFromContext(ctx context.Context) ([]byte, bool)

BucketEncryptionKeyFromContext returns the bucket encryption key from a context.

func NewBucketEncryptionKeyContext

func NewBucketEncryptionKeyContext(ctx context.Context, key []byte) context.Context

NewBucketEncryptionKeyContext adds the encryption key to the context which is used to encrypt and decrypt requests to buckets client.

Types

This section is empty.

Jump to

Keyboard shortcuts

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