 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Auth ¶
func (*Auth) SignRequest ¶
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) *GCSUploader
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(region, bucket, path, acl, accessKey, secretKey string) *S3Uploader
type StorageClient ¶
type StorageClient struct {
	Auth      *Auth
	Transport http.RoundTripper
}
    func NewStorageClient ¶
func NewStorageClient(account, accessKey string) *StorageClient
func (*StorageClient) FileUpload ¶
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.