Documentation
¶
Index ¶
- type FakeOSSClient
- func (t *FakeOSSClient) DeleteObject(_ string, _ *oss.Object) error
- func (t *FakeOSSClient) GetObjectBase64Content(bucket string, object *oss.Object) (string, error)
- func (t *FakeOSSClient) GetObjectCDNURL(bucket string, object *oss.Object) (string, error)
- func (t *FakeOSSClient) GetObjectOSSURL(bucket string, object *oss.Object) (string, error)
- func (t *FakeOSSClient) GetObjectSignedURL(bucket string, object *oss.Object, expires time.Time) (string, error)
- func (t *FakeOSSClient) GetObjectURL(bucket string, object *oss.Object) (string, error)
- func (t *FakeOSSClient) UploadImageFromBase64(_ *beeorm.Engine, bucket, image, extension string) (oss.Object, error)
- func (t *FakeOSSClient) UploadImageFromFile(_ *beeorm.Engine, bucket, localFile string) (oss.Object, error)
- func (t *FakeOSSClient) UploadObjectFromBase64(_ *beeorm.Engine, bucket, content, extension string) (oss.Object, error)
- func (t *FakeOSSClient) UploadObjectFromByte(_ *beeorm.Engine, bucket string, content []byte, extension string) (oss.Object, error)
- func (t *FakeOSSClient) UploadObjectFromFile(_ *beeorm.Engine, bucket, localFile string) (oss.Object, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeOSSClient ¶
func (*FakeOSSClient) DeleteObject ¶ added in v0.9.24
func (t *FakeOSSClient) DeleteObject(_ string, _ *oss.Object) error
func (*FakeOSSClient) GetObjectBase64Content ¶ added in v0.6.3
func (*FakeOSSClient) GetObjectCDNURL ¶ added in v0.9.24
func (*FakeOSSClient) GetObjectOSSURL ¶ added in v0.9.24
func (*FakeOSSClient) GetObjectSignedURL ¶
func (*FakeOSSClient) GetObjectURL ¶
func (*FakeOSSClient) UploadImageFromBase64 ¶
func (*FakeOSSClient) UploadImageFromFile ¶
func (*FakeOSSClient) UploadObjectFromBase64 ¶
func (*FakeOSSClient) UploadObjectFromByte ¶ added in v0.9.24
func (*FakeOSSClient) UploadObjectFromFile ¶
Click to show internal directories.
Click to hide internal directories.