aws

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package aws handles using AWS as the backing store.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type S3

type S3 struct {
	config.Settings
}

S3 handles persisting to an S3 bucket.

func (S3) Get

func (s S3) Get(key string, i interface{}) error

Get a document from S3. The provided interface must be a pointer to a type able to hold the JSON data.

func (S3) Put

func (s S3) Put(key string, data interface{}) error

Put a document into S3. The provided data must marshal to JSON.

Jump to

Keyboard shortcuts

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