Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Backends = make(map[string]Loader)
View Source
var EBadRequest = errors.New("Bad Request")
View Source
var EDiskFailure = errors.New("Disk Failure")
View Source
var EExists = errors.New("Object exists")
View Source
var ENoBucket = errors.New("No such bucket")
View Source
var EOutOfStorage = errors.New("Out of Storage")
View Source
var ETemporaryFailure = errors.New("Temporary Failure")
Functions ¶
This section is empty.
Types ¶
type Bucket ¶
type Bucket struct { Store BucketStore Uuid string }
type BucketStore ¶
type OverStore ¶
type OverStore interface { Submit(id, overv, head, body []byte, expire time.Time) (bucket bufferex.Binary, err error) OverPut(bucket []byte, id, overv, head, body []byte, expire time.Time) error OverGet(bucket []byte, id []byte, overv, head, body *bufferex.Binary) (ok bool, e error) OverExpire(bucket []byte, expire time.Time) error OverFreeStorage(bucket []byte) (int64, error) }
Click to show internal directories.
Click to hide internal directories.