gosync

package
v0.0.0-...-cd27480 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2014 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get(file string, bucket *s3.Bucket, path string)

func Put

func Put(bucket *s3.Bucket, path string, file string)

Types

type S3Url

type S3Url struct {
	Url string
}

func (*S3Url) Bucket

func (r *S3Url) Bucket() string

func (*S3Url) Key

func (r *S3Url) Key() string

func (*S3Url) Path

func (r *S3Url) Path() string

func (*S3Url) Valid

func (r *S3Url) Valid() bool

type SyncPair

type SyncPair struct {
	Source     string
	Target     string
	Auth       aws.Auth
	Concurrent int
}

func (*SyncPair) Sync

func (s *SyncPair) Sync() error

Jump to

Keyboard shortcuts

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