Documentation
¶
Index ¶
- type FakeS3Client
- func (t *FakeS3Client) DeleteObject(bucket string, objects ...*s3.Object) bool
- func (t *FakeS3Client) GetClient() *s3sdk.S3
- func (t *FakeS3Client) GetObjectCachedURL(bucket string, object *s3.Object) string
- func (t *FakeS3Client) GetObjectSignedURL(bucket string, object *s3.Object, expires time.Duration) string
- func (t *FakeS3Client) UploadImageFromBase64(_ *orm.Engine, bucket, image, extension string) s3.Object
- func (t *FakeS3Client) UploadImageFromFile(_ *orm.Engine, bucket, localFile string) s3.Object
- func (t *FakeS3Client) UploadObjectFromBase64(_ *orm.Engine, bucket, content, extension string) s3.Object
- func (t *FakeS3Client) UploadObjectFromFile(_ *orm.Engine, bucket, localFile string) s3.Object
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeS3Client ¶
func (*FakeS3Client) DeleteObject ¶ added in v0.4.8
func (t *FakeS3Client) DeleteObject(bucket string, objects ...*s3.Object) bool
func (*FakeS3Client) GetClient ¶ added in v0.6.6
func (t *FakeS3Client) GetClient() *s3sdk.S3
func (*FakeS3Client) GetObjectCachedURL ¶
func (t *FakeS3Client) GetObjectCachedURL(bucket string, object *s3.Object) string
func (*FakeS3Client) GetObjectSignedURL ¶
func (*FakeS3Client) UploadImageFromBase64 ¶
func (*FakeS3Client) UploadImageFromFile ¶
func (*FakeS3Client) UploadObjectFromBase64 ¶
func (*FakeS3Client) UploadObjectFromFile ¶
Click to show internal directories.
Click to hide internal directories.