results

package
v0.0.0-...-aec1f2c Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithSaver

func WithSaver(ctx context.Context, s Saver) context.Context

Types

type Saver

type Saver interface {
	scaffold.Contextualizer
	Save(key string, data []byte) (string, error)
	AlwaysSave() bool
}

func ContextSaver

func ContextSaver(ctx context.Context) Saver

func NewNoopSaver

func NewNoopSaver() Saver

func NewS3Saver

func NewS3Saver(bucket string) Saver

func NewStdoutSaver

func NewStdoutSaver(alwaysSave bool) Saver

Jump to

Keyboard shortcuts

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