Documentation ¶
Index ¶
Constants ¶
View Source
const (
VersionOriginal = "1"
)
Variables ¶
View Source
var ( ErrExisted = errors.New("存储对象重名或已存在") ErrNotExisted = errors.New("该存储对象不存在") )
Functions ¶
This section is empty.
Types ¶
type Clouds ¶
type Clouds interface { Init() error Add(objectName, subdirectory string, objectReader io.Reader) (CloudsAdd, error) Del(objectName string) error Get(objectName string) (io.ReadSeeker, error) GetBytes(objectName string) ([]byte, error) Stat(objectName string) (CloudsStat, error) Find(objectNamePrefix string) ([]string, error) List() ([]string, error) Destroy() error Tags(objectName string) (map[string]string, error) DelTags(objectName string) error SetTags(objectName string, tags map[string]string) (map[string]string, error) }
type CloudsStat ¶ added in v1.0.0
Source Files ¶
- clouds.go
- clouds_object.go
- clouds_object_del.go
- clouds_object_get.go
- clouds_object_stat.go
- clouds_object_tags_del.go
- clouds_object_tags_get.go
- clouds_object_tags_set.go
- clouds_object_upload.go
- clouds_storage.go
- clouds_storage_del.go
- clouds_storage_have.go
- clouds_storage_listall.go
- clouds_storage_listwith.go
- clouds_storage_new.go
- private.go
- public.go
Click to show internal directories.
Click to hide internal directories.