Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is an uploader client for uploading media to S3
func NewUploader ¶
NewUploader creates a new uploader client
type EnvGeneric ¶
type EnvGeneric struct {
// contains filtered or unexported fields
}
A EnvAWS retrieves credentials from the environment variables of the running process. EnvAWSironment credentials never expire.
EnvGeneric variables used:
* Access Key ID: S3_ACCESS_KEY * Secret Access Key: S3_SECRET_KEY
func (*EnvGeneric) IsExpired ¶
func (e *EnvGeneric) IsExpired() bool
IsExpired returns if the credentials have been retrieved.
func (*EnvGeneric) Retrieve ¶
func (e *EnvGeneric) Retrieve() (credentials.Value, error)
Retrieve retrieves the keys from the environment.
Click to show internal directories.
Click to hide internal directories.