location

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2016 License: MIT Imports: 9 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(localDir string, filename string) error

type Location

type Location interface {
	Save(string, string) error
	Clean() error
}

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(localDir string, filename string) error

Jump to

Keyboard shortcuts

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