Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrNotExist = errors.New("does not exist") ErrAlreadyExists = errors.New("already exists") )
Functions ¶
This section is empty.
Types ¶
type Bucket ¶
type Bucket interface { Metadata() (*BucketMetadata, error) Object(name string) (*Object, error) PutObject(name string, options PutObjectOptions) (*Object, error) }
type BucketMetadata ¶
type NewBucketOptions ¶
type NewBucketOptions struct {
Versioning bool
}
type PutObjectOptions ¶
type PutObjectOptions struct { Chunks []chunkstore.ChunkHash MD5Sum [md5.Size]byte }
Click to show internal directories.
Click to hide internal directories.