location

package
v0.4.8 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2016 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Local

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

func NewLocal added in v0.4.0

func NewLocal(storageCfg *config.StorageConfig) *Local

func (*Local) Clean

func (l *Local) Clean() error

func (*Local) Save

func (l *Local) Save(filename string, buf *bytes.Buffer) error

type Location

type Location interface {
	Save(filename string, buf *bytes.Buffer) error
	Clean() error
}

func New added in v0.4.8

func New(cfg *config.StorageConfig) Location

type S3

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

func NewS3 added in v0.1.0

func NewS3(storageCfg *config.StorageConfig) *S3

func (*S3) Clean

func (s *S3) Clean() error

func (*S3) Save

func (s *S3) Save(filename string, buf *bytes.Buffer) error

Jump to

Keyboard shortcuts

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