Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type S3Credentials ¶
type S3Credentials struct { Enabled bool `yaml:"enabled"` // The bucket name Bucket string `yaml:"bucket"` // Prefix with trailing / to prepend to all file names within the bucket Path string `yaml:"path"` // Access Key AccessKey string `yaml:"accessKey"` // Secret Key SecretKey string `yaml:"secretKey"` // Bucket region Region string `yaml:"region"` }
func (*S3Credentials) RetrieveFile ¶
func (c *S3Credentials) RetrieveFile(fname string, file *os.File) error
func (*S3Credentials) UploadFile ¶
func (c *S3Credentials) UploadFile(file *os.File, fname string) error
Click to show internal directories.
Click to hide internal directories.