Documentation ¶
Index ¶
- type GoogleOSS
- func (ossStorage *GoogleOSS) GetObjectBase64Content(bucket string, object *oss.Object) (string, error)
- func (ossStorage *GoogleOSS) GetObjectCachedURL(bucket string, object *oss.Object) string
- func (ossStorage *GoogleOSS) GetObjectSignedURL(bucket string, object *oss.Object, expires time.Time) string
- func (ossStorage *GoogleOSS) GetObjectURL(bucket string, object *oss.Object) string
- func (ossStorage *GoogleOSS) ReadFile(localFile string) ([]byte, string)
- func (ossStorage *GoogleOSS) UploadImageFromBase64(ormService *beeorm.Engine, bucket, base64image, extension string) oss.Object
- func (ossStorage *GoogleOSS) UploadImageFromFile(ormService *beeorm.Engine, bucket, localFile string) oss.Object
- func (ossStorage *GoogleOSS) UploadObjectFromBase64(ormService *beeorm.Engine, bucket, base64content, extension string) oss.Object
- func (ossStorage *GoogleOSS) UploadObjectFromFile(ormService *beeorm.Engine, bucket, localFile string) oss.Object
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GoogleOSS ¶
type GoogleOSS struct {
// contains filtered or unexported fields
}
func NewGoogleOSS ¶
func (*GoogleOSS) GetObjectBase64Content ¶ added in v0.6.3
func (*GoogleOSS) GetObjectCachedURL ¶
func (*GoogleOSS) GetObjectSignedURL ¶
func (*GoogleOSS) GetObjectURL ¶
func (*GoogleOSS) UploadImageFromBase64 ¶
func (*GoogleOSS) UploadImageFromFile ¶
func (*GoogleOSS) UploadObjectFromBase64 ¶
Click to show internal directories.
Click to hide internal directories.