Documentation
¶
Index ¶
- type AmazonS3
- func (amazonS3 *AmazonS3) GetObjectCachedURL(bucket string, object *Object) string
- func (amazonS3 *AmazonS3) GetObjectSignedURL(bucket string, object *Object, expiresIn time.Duration) string
- func (amazonS3 *AmazonS3) ReadFile(localFile string) ([]byte, string)
- func (amazonS3 *AmazonS3) UploadImageFromBase64(ormService *orm.Engine, bucket, base64image, extension string) Object
- func (amazonS3 *AmazonS3) UploadImageFromFile(ormService *orm.Engine, bucket, localFile string) Object
- func (amazonS3 *AmazonS3) UploadObjectFromBase64(ormService *orm.Engine, bucket, base64content, extension string) Object
- func (amazonS3 *AmazonS3) UploadObjectFromFile(ormService *orm.Engine, bucket, localFile string) Object
- type Object
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AmazonS3 ¶
type AmazonS3 struct {
// contains filtered or unexported fields
}
func NewAmazonS3 ¶
func (*AmazonS3) GetObjectCachedURL ¶
func (*AmazonS3) GetObjectSignedURL ¶
func (*AmazonS3) UploadImageFromBase64 ¶
func (*AmazonS3) UploadImageFromFile ¶
func (*AmazonS3) UploadObjectFromBase64 ¶
Click to show internal directories.
Click to hide internal directories.