Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type S3Object ¶
type S3Object struct { Bucket string `json:"bucket"` Name string `json:"name"` Date time.Time `json:"date"` PrettyDate string `json:"pretty_date"` Size int64 `json:"size"` Tag string `json:"tag"` Age string `json:"age"` // contains filtered or unexported fields }
S3Object holds important information from an s3 key
type Service ¶
type Service struct { Sess *session.Session Bucket string Prefix string // contains filtered or unexported fields }
Service for aws bucket
func (*Service) AWSConnect ¶
AWSConnect establishes aws connection
func (*Service) DownloadImages ¶
DownloadImages downloads images from bucket
func (*Service) NewS3FromObj ¶
NewS3FromObj creates a new s3 object
func (*Service) NewS3Object ¶
NewS3Object from key
Click to show internal directories.
Click to hide internal directories.