Documentation ¶
Index ¶
- type Blobstore
- func (blobstore *Blobstore) Copy(src string, dest string) error
- func (blobstore *Blobstore) Delete(resource string) error
- func (blobstore *Blobstore) DeleteDir(prefix string) error
- func (blobstore *Blobstore) Exists(resource string) (bool, error)
- func (blobstore *Blobstore) Get(path string) (io.ReadCloser, error)
- func (blobstore *Blobstore) GetOrRedirect(path string) (io.ReadCloser, string, error)
- func (blobstore *Blobstore) HeadOrRedirectAsGet(resource string) (string, error)
- func (blobstore *Blobstore) Put(path string, rs io.ReadSeeker) error
- func (blobstore *Blobstore) Sign(resource string, method string, timestamp time.Time) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Blobstore ¶
func NewBlobstore ¶
func NewBlobstore(config config.AlibabaBlobstoreConfig) *Blobstore
func (*Blobstore) GetOrRedirect ¶
func (*Blobstore) HeadOrRedirectAsGet ¶
Click to show internal directories.
Click to hide internal directories.