blobstore

package module
v0.0.0-...-e80d38a Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2018 License: MIT Imports: 9 Imported by: 0

README

blobstore

GoDoc

A secure blobstore for S3 in Go

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Blobstore

type Blobstore struct {
	// contains filtered or unexported fields
}

Blobstore provides secure access to a blobstore through a backend storage implementation

func New

New returns a Blobstore which uses HMAC-SHA-256 and ChaCha20

func (Blobstore) Get

func (b Blobstore) Get(blobID string) ([]byte, error)

Get retrieves and decrypts a blob from storage

func (Blobstore) Put

func (b Blobstore) Put(data []byte) (string, error)

Put encrypts and stores a blob, returning the blobID for the data

Directories

Path Synopsis
Package backend provides common definitions for blobstore backends
Package backend provides common definitions for blobstore backends
Package membackend provides an in-memory storage backend for a blobstore
Package membackend provides an in-memory storage backend for a blobstore

Jump to

Keyboard shortcuts

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