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