Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AzureBlobUploader ¶
type AzureBlobUploader struct {
// contains filtered or unexported fields
}
func NewAzureBlobUploader ¶
func NewAzureBlobUploader(account_name string, account_key string, container_name string) *AzureBlobUploader
type GCSUploader ¶
type GCSUploader struct {
// contains filtered or unexported fields
}
func NewGCSUploader ¶
func NewGCSUploader(keyFile, bucket, path string, enableSignedUrls bool, signedUrlExpiration string) (*GCSUploader, error)
type ImageUploader ¶
func NewImageUploader ¶
func NewImageUploader() (ImageUploader, error)
type LocalUploader ¶
type LocalUploader struct { }
func NewLocalImageUploader ¶
func NewLocalImageUploader() (*LocalUploader, error)
type NopImageUploader ¶
type NopImageUploader struct { }
type S3Uploader ¶
type S3Uploader struct {
// contains filtered or unexported fields
}
func NewS3Uploader ¶
func NewS3Uploader(endpoint, region, bucket, path, acl, accessKey, secretKey string, pathStyleAccess bool) *S3Uploader
type StorageClient ¶
type StorageClient struct { Auth *Auth Transport http.RoundTripper }
func NewStorageClient ¶
func NewStorageClient(account, accessKey string) *StorageClient
type WebdavUploader ¶
type WebdavUploader struct {
// contains filtered or unexported fields
}
func NewWebdavImageUploader ¶
func NewWebdavImageUploader(url, username, password, public_url string) (*WebdavUploader, error)
func (*WebdavUploader) PublicURL ¶
func (u *WebdavUploader) PublicURL(filename string) string
Click to show internal directories.
Click to hide internal directories.